Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,154,195 members, 7,822,036 topics. Date: Thursday, 09 May 2024 at 03:14 AM

Onyengbu's Posts

Nairaland Forum / Onyengbu's Profile / Onyengbu's Posts

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 46 pages)

Webmasters / Re: Where Is This Error Coming From Please by onyengbu: 1:22am On Jul 18, 2015
cbrass:


Please did you test the code? Cos Nothing is popin up
Yea, tested it ok.
Hope you added your jquery library and removed all the nairaland injected "wink"

Heres the fiddle : http://jsfiddle.net/fa6rosps

I commented out the .load(db-stuff.php) part and loaded the modal directly into the page with .html() since I cant load external file there
Webmasters / Re: BREAKING!!- Google Is Hiring An SEO Expert To Improve It's Search Engine Ranking by onyengbu: 1:00pm On Jul 17, 2015
Roviarsguide:


bitter but true words.......tnx
This is like Jega looking for someone to help him rig an election.

1 Like

Webmasters / Re: I Nid Example Of Dynamic Pls Now Now by onyengbu: 5:39am On Jul 17, 2015
ebukav:
Guys pls help me out with de examples of dynamic website pls
You just posted a question on one. Nairaland is an example of a dynamic website.
Webmasters / Re: Where Is This Error Coming From Please by onyengbu: 3:40am On Jul 17, 2015
cbrass:
Thanks alot bro, will try it out
Good. Let me know how it turns out.
Webmasters / Re: Please How Much Can I Charge To Build A Church Database? by onyengbu: 1:01pm On Jul 16, 2015
phpNET:


a church with over 5000 members, i think they have someone to populate nd manage it.
You need to find out and AGREE with them whose job is it to populate it and who updates it in the future. It is crucial.

5 Likes 1 Share

Webmasters / Re: Please How Much Can I Charge To Build A Church Database? by onyengbu: 9:41am On Jul 16, 2015
phpNET:
Please fellow developers how much does it cost to build a large church database?

its urgent, please candid advice needed.
What kind of church and how large.
Will you be the one to populate and manage it. Will it be run from web application.

1 Like

Webmasters / Re: [HELP] Is There Anything Wrong With My Robots.txt? by onyengbu: 9:01am On Jul 15, 2015
360jamng:
My site is http://www.

Robots location: http:///robots.txt

User-agent: *
Disallow: /video/down/
Disallow: /image/down/
Disallow: /music/down/
Disallow: /game/down/
Disallow: /software/down/
Disallow: /theme/down/
Disallow: /ringtone/down/
Disallow: /animation/down/
Allow: /
Sitemap: http:///sitemap.xml
Crawl-delay: 60


These robots.txt is the same with most sites, but google indexes their own and leave mine. Please help

That is my robots.txt


It takes google 20years to crawl my site.


Please what is wrong?



Some say I need backlinks.


Please wapka users, webmasters, help me out.



My number: 08137861696

[img]http://free.pagepeeker.com/v2/thumbs.php?size=x&url=%2Frobots.txt&r=0.8096926883836021[/img]

cc lalasticlala
crawling your pageis not the same thing as indexing it and besides how do you know your site hasnt been indexed.
your page most certainly has been crawled by search engines if it is more than one year old. The problem is where is it indexed. I believe you are confusing ranking with indexing and so you many not know that an indexed site may rank so low you have click down to millions of google search result to find the. I might be wrong though about your knwoledge of that.

Finally, what your robot.txt file does is to tell web crawlers where to go and where not to go IF they visit your site. Therefore, robot.txt is not an express invitation for crawling.

1 Like

Webmasters / Re: Where Is This Error Coming From Please by onyengbu: 3:13am On Jul 15, 2015
cbrass:


I thought of this too but the issue I have is the modal only fires when clicked so Which means that method may not work. I didn't write the modal script I saw it some where.if I can get one that fires on page load that your method will work

Again I dont fully understand the context but assuming you are just aiming to load the the details returned from your page_timeline table into that modal box heres how I will do it.
1. Launch the modals and
2. Load a page with the attributes as query strings into it (i named the page db-stuff.php).

I made my own modal here as you can see.

main-page.php

<html>
<head>
<style>
#shade
{
position:fixed;
top:0;
bottom:0;
left:0;
right:0;
z-index:100;
background:#000;
opacity:0.5;
display:none;
}
#modal-container
{
position:fixed;
top:0;
bottom:0;
left:0;
right:0;
z-index:101;
background:none;
display:none;
}
.modal
{
background:#fff;
border:1px solid #000;
width: 40%;
height: 35%;
margin: auto;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
</style>
</head>
<body>
<div id="shade"></div>
<div id="modal-container"></div>

<li><a href="#" class="btn btn-info btn-sm" id="edit" data-toggle="modal" data-target="#modal-form" data-owner="<?php echo $op; ?>" data-edit="<?php echo $postID; ?> ">Edit Page</a></li>


<script>
$(document).ready(function() {
$(document).on("click", "#edit", function(e) {
var id = $(this).attr("data-edit"wink;
var user = $(this).attr("data-owner"wink;
$("#shade"wink.fadeIn();
$("#modal-container"wink.fadeIn();
$("#modal-container"wink.load("db-stuff.php?id="+id+"&user="+user);
return false;
});
});
</script>
</body>
</html>


db-stuff.php

<?php
$id = $_POST['id'];
$usern = $_POST['user'];
$sel = "SELECT * FROM page_timeline WHERE timelineID = '$id' AND user ='$usern' ";
$selt = $db->query($sel);
echo '<div class="modal">';
while($row = $selt->fetch_array())
{
echo $row['post'];
}
echo '</div>';
?>



Remeber to add jquery library
Politics / Re: Who Saw "Oga At The Top" On NTA Network News Yesterday? by onyengbu: 12:19pm On Jul 14, 2015
ITbomb:
He was redeployed from the heat. He is one of the distinguished officers in NSCDC in respect to field operations and should not be fired just like that
Redeployed with a promotion sef...
Webmasters / Re: Where Is This Error Coming From Please by onyengbu: 1:15am On Jul 14, 2015
cbrass:


yes
I dont know why you may want to do that but I am not sure it is the right thing to do. If the modal launch is to confirm the click even, you can just implement it in such a way that the click POSTs the variables and the executes your php and if the query is successful, you echo the js that will launch the modal from php.
Webmasters / Re: Where Is This Error Coming From Please by onyengbu: 5:14pm On Jul 13, 2015
cbrass:


Thanks alot for your concern, one thing I noticed it I removed that modal link so it doesn't have to pop up, and I.used alert() to know what's wrong I discovered that the PHP indeed recieved those information from the Ajax and I can see the id and the owner of post but when I switch back to the modal and the window pops up onclick it shows that undefined index thing again. So is that the popup is not waiting for Ajax to send the information before firing?
I dont understand.
Does the click on the linl both launch modal as well as POST the variables all at the same time?
Webmasters / Re: Where Is This Error Coming From Please by onyengbu: 12:42pm On Jul 13, 2015
cbrass:



By mere looking, i cant pin point anything specifically but i have my suspicions.
If it were me, i will troubleshoot by first assigning values to the variables directly to id and usern. That is, i will just say var id = "2"; var usern = "3"; then run it again and see what gets posted to php.
If I still get undefined, I will rename the attributes in the <a> element to something like dataowner and dataedit; that is get rid of the dashes.
Another place to look into is the assignment of usern varibale in the datastring. Why not say usern=' + usern and then catch is as $usern = $_POST['usern']; in your php.
Lastly, i noticed your click event is tied to an ID. As you well know, ids are meant to be unique on a page so make sure you dont have another <a id="edit" on that page. If the <li> is returned in a loop, there is definitely more than one of it on the page and that is trouble! To avoid that tie the click event to a class.

I am almost certain one of these will.solve the problem.
Webmasters / Re: From An Aspiring Webmaster...help, Im Stuck!!! by onyengbu: 12:18pm On Jul 13, 2015
engrrichie92:
@onyegbu, thanks so very much for this eyeopener...your explanation meets my exact situation and my eyes of understanding have just been more enlightened..and I guess I now know where the problem lies,was never thinking in terms of boxes until now, one final question before I get to work,
In building the structures, what HTML tag's mostly used; the <frame> tag, <table> or the <div>…, and please don't mind my seemingly "dumb" questions because I know that is what it might seem to a professional reading this...a mouth that fails to ask for help will never grow

Thanks again for the time you took in helping a brother solve a problem...your advice was priceless,.
.
It has to be divs. Years ago people do most ofthe building blocks with tables but apart from performance issues, divs gives you more options.

Now, there are situations where you use <p>, <span> and others and by convention, each of these have place and purpose but you still can achieve the same purpose with any of them. All you need is to know the css properties to assign to each one and thats where your css lessons comes into play.
Webmasters / Re: From An Aspiring Webmaster...help, Im Stuck!!! by onyengbu: 3:52am On Jul 13, 2015
engrrichie92:


thanks for the quick response... first, i really dont get how to put together the structure (sounds lame but true, maybe I am not so sharp after all), and then the structures i keep seeing on sites that i try to replicate(for practice purpose) seem like what they didnt use css + html to do because none of what i know works to build them...or maybe material i studied wasnt comprehensive enough

..., say i want to use html and css to build home page for a car site..what exactly are the basic components of the page, what would it look like and how do i apply html +css to bring it to fruition. Please consider me a child still learning how to walk...and it may appear that i require to be spoonfed a bit..again, your detailed clarification on this matter would be highly appreciated

No I dont believe you are not sharp. Its just that you haven't grasped the idea behind it all. Its like a child learning to ride a bike. You can teach him/her balancing all you like he/she will continue to fall until the whole idea of balancing on 2 wheels hits him/her like a lightning and it will all become very clear and in matter of days or even hours you dont need to teach him/her the balancing techniques again though he/she will still need to learn speed application, sharp turns and other maneuvers but the balancing part is done and dusted for ever.

Now if you did learn about html and css, you need to understand that those divs and spans and <p> and others are just blocks. So when I said make a sketch, those lines in the sketches are the divs and other elements you have been practicing how to style in your classes. You need to get the blocks to take their shapes and positions first b4 you start to style them.
Therefore when you want to start creating a webpage, you need to figure out the structure you want in your mind, draw it on paper and then start positioning the structures in terms of height, length, floats and others before you ever think of coloring or even inserting images and texts. This is for you as a beginner, you can do it other ways if you have been grounded.

Now the reason those sites you try to replicate doesn't seem to be built on html+css is because you are imagining them as a painting and not as BOXES first. When I said boxes I mean the divs and other html elements. I term them boxes here for you. The secret is all in those BOXES! When you see a glossy looking webpage, just think of the boxes first and think of where each is placed because at the end of the day, it has to be the boxes. The boxes are always there and you are not seeing them because they were not given borders. The structural difference between many webpages is the placement (positioning) of these boxes first and then how they are styled.

I will illustrate with a sample car website homepage below. The first image is the website as it appears to the "public" while the second image is me predicting the building blocks (boxes) of the same page. Now you dont have to wonder again if they built it with css because with the red lines, I have just shown you they did. Even if their own boxes are not placed exactly where I placed mine, you can replicate the website with ones I sketched. With your knowledge of css you should be able to place these boxes the way they placed it on the page. If you cant, then your problem might not be what I think it is.

Webmasters / Re: From An Aspiring Webmaster...help, Im Stuck!!! by onyengbu: 8:58pm On Jul 12, 2015
since you know css and html, the way forward is to get a paper and pen and draw your conceived webpage structure. Just sketch every building blocks the way you want them to appear and after that you can now use your html and css knowledge to do the actual building of the page elements.
Webmasters / Re: Htaccess Is It Htaccess.txt Or What by onyengbu: 12:19am On Jul 11, 2015
Joel3:
this suppose to be a cheap question for s person like me. but forgive my ignorance.

I want to assign error request. when page is not found. there is no htacess on the server. I want to put it. it not .php so is it .txt like robots.txt,,?


need help.
I dont think they answered your question.
The file is neither .php nor .txt. It is a special type of file of its own kind; it is simply .htaccess, you see the dot (.) before htaccess it is crucial!

So just create a new file and save the file as .htaccess NOT htaccess.txt or htaccess.php
Webmasters / Re: Can You Create Site Like This With Just 10k by onyengbu: 6:01am On Jul 10, 2015
Brandnew2:
Webmasters, una don suffer finish. grin

You go shock if you know how many calls the guy go don get by now......

grin
Webmasters / Re: Who Can Solve This Problem Pls by onyengbu: 7:14am On Jul 08, 2015
cbrass:


Am very greatfull sir, thanks alot
Good. Have you done it?
Webmasters / Re: Is Anybody Selling A Forum Website? by onyengbu: 6:41am On Jul 08, 2015
ola4:
I am interested in buying a Nigeria forum website, is anybody selling one?
if you really need it send me an email at onyengbu@yahoo.com
Webmasters / Re: Who Can Solve This Problem Pls by onyengbu: 3:14pm On Jul 07, 2015
cbrass:


That will only work if I want to redirect to another page but it's a pop up containing a textarea below that I want to use I don't want ppl to go to another page. You know like Facebook edit where you stay on your timeline when you be ant to modify a post
I am on mobile and can offer very limited help here.
However, your issue have a very very simple solution. Since you are using query, there a lot of possibilities.
You can just use add an attribute to the a href link that launches the modal box. By attribute I mean id, rel, class or even non HTML imagined ones that is only if you have ran out of standard HTML attributes for that element.
JQuery will recognize it. Let's say you added an attributed named ahr to the link, and the link looks like this:
<a href="javascript:void(0)" ahr="23">Edit</a>
, you can create a variable from it in jquery like this: var thisID = $(this).attr("ahr"wink;
With this, you can then use query load() to load the db returned values specific to the query variable - thisID into the text area or content editable div where you can modify the db content and then send back via query/ajax request.

I will create a complete sample code when I get to a PC.
Education / Re: Which Switch Lights The Bulb? by onyengbu: 4:32am On Jul 06, 2015
[size=18pt]For that lamp to come on, there needs to be at least two wires connected to it but from the drawing, only one line of wire entered it and the rest of the chaotic maze of twisted wires are only there to mess with people's mind.

The answer, that lamp cannot be powered on by [b]ANY [/b]of those switches! [/size]
Webmasters / Re: Fatal Error: Allowed Memory Size Of 67108864 Bytes Exhausted. Please Help by onyengbu: 1:18pm On Jul 05, 2015
The reason for forums like this is so that when people have problems and come here to announce it. Other people who are willing and know how to help will provide the solution HERE on the board so that someone else with the same problem will get help from it.

What we have here on nairaland is people looking for who to call them. Isnt that suspicious?

No wonder Seun disable his PM feature, if not this forum would have been long dead.
Webmasters / Re: Webmaster Needed For A Sms Portal Website Asap !!!! by onyengbu: 6:54pm On Jul 03, 2015
adeola9:


All they know how to do is make loud mouths, yet they know nothing of being called a guru as they paint themselves. They are all about making money, copy and paste series of same website for a thousand different clients. They went to some computer school, spent some 6 months, got their first small project, got the second, the third, the tenth and then they label themselves web gurus and website wizards.

When you ask them to come basic and give them a "real" job, at first they say it aint a problem, giving you a long list of the play arounds they've done before, which they call projects, and you are like "Its better giving it to Nigerians, so lets get on with it" and then they start changing what you requested and if you are the type that knows what you really want, they start telling you how things have moved and the world have become better with new designs different from yours, but if you still stood your ground, they vaporize and start avoiding your calls cos they have not one kobo to repay from the huge sum of money you've paid them as they have requested for a "start-up" fee, as they call it.

This website - Nairaland, itself is not built on the latest forum web technology designs, yet it works, I'm here on it and you are here on it, its the number 1 Nigerian forum today and its making much success than all the latest, more beautifully designed forum that are available now.

They claim they can design you a website just exactly like facebook with even better features, you say "Oya, lets get it done" and they give you a link of what they've had designed for you as a first stage after like 5 weeks, you check the link and Alas, it was just a template the smart boy bought and have been busy customizing.

If you have been reading all these and wonder who they are, these people are called the "Nigerian Webmasters".

A lot of us have fallen so much into their sugar quoted mouths and we all have a number of abandoned websites they started and couldn't finish when they realized they cant handle it and have gotten more than 75% advance payment.

At the end, we all reseal its all about making a living for them and nothing more.

At first I suspected it but I waited to make sure while still wondering how a person who came here looking for developers will be busy bolding and repeating the name of his 'sample' website over and over again. I wasn't comfortable voicing out my opinion at first.

But then, you posted this long epistle up there and baammm! You confirmed it for us all, YOU ARE NOT HERE LOOKING FOR DEVELOPERS, YOU ARE HERE FOR DEVELOPERS TO LOOK AT YOUR WEBSITE!

Na me talk am!
Politics / Re: Radio Biafra And Nnamdi Kanu: A Threat to Nigeria's Stability. by onyengbu: 2:13pm On Jun 25, 2015
BiafranPr1nce:


I will just plead u attend IPOB meeting for once, just once, get to the local co-ordinator, ask questions, if he can't answer you, he will refer you to a zonal coordinator, sir u will have a total change of mind.

Anaghi aso mgbagbu aga ogu.
Any meeting that has anything to do with Kanu and his ideology is not a meeting but a terrorist assembly and I cannot associate with such. Uwazurikes's way of going for Biafra was better even though I think he later slipped to government pressures but that is still better than aligning with a lunatic that will lead some senseless people (not me) to destruction.

6 Likes

Politics / Re: Radio Biafra And Nnamdi Kanu: A Threat to Nigeria's Stability. by onyengbu: 1:58pm On Jun 25, 2015
BiafranPr1nce:


Then u don't know how process of Self-Determination works. Chai.

U want to tell me, you will just barge into U.N General Assembly like that, oh mehn.
Due process my guy,

I only showed u a youtube video about the efforts made in U.N so far.

Now run along, U.N general assembly is not ur village meeting.
But the Kanu guy is telling you guys that UN has supported him so you can now go ahead and start killing non Igbos because you have backing of UN.

If you guys know about self determination process why is Kanu and his gang planning war when he knows that nobody gets independence from war anymore...

If they follow the due process and promote it the way they are promoting war now millions of Igbo people including myself will join them wholeheartedly.

2 Likes

Politics / Re: Radio Biafra And Nnamdi Kanu: A Threat to Nigeria's Stability. by onyengbu: 1:39pm On Jun 25, 2015
BiafranPr1nce:


You really sound like a coward, no offense sir
You wey be fighter and you dey Nigeria follow one tout wey dey UK de make noise, go collect your war medal for united nations....

2 Likes

Politics / Re: Radio Biafra And Nnamdi Kanu: A Threat to Nigeria's Stability. by onyengbu: 1:37pm On Jun 25, 2015
BiafranPr1nce:

IPOB in U.N assembly


https://www.youtube.com/watch?v=Af9RITNla9k

One way or another, it must happen.
You have been deceived! That is no UN Assembly!

Show me a single world leader you know in that video. And Finally below is what UN Assembly looks like.

6 Likes

Politics / Re: Radio Biafra And Nnamdi Kanu: A Threat to Nigeria's Stability. by onyengbu: 1:30pm On Jun 25, 2015
kokobi99:


You are senseless
Senseless gbuo gi ebe afu! Anu mpama!

A thug who is looking for fame is trying to drag you into something you cannot gain anything from and you are encouraging him. The i-diot doesn't live in Nigeria if you don't know and he wants you to start a war. What made you think war or killing other Nigerians will give you Biafra? Even if I want Biafra so badly, I wont align with thugs and people craving for attention to get it. It requires tact and diplomacy. Any form of violence will only lead to a war that no one will win even if the whole world powers are in your support.
Who is senseless here?

6 Likes

Politics / Re: Radio Biafra And Nnamdi Kanu: A Threat to Nigeria's Stability. by onyengbu: 11:06am On Jun 25, 2015
The government is to blame. How difficult can it be to round up that tout or anyone who knows where he hides.

Biafra my .....

1 Like

Webmasters / Re: How Can I Upload More Than One File At Once Into My Cpanel? by onyengbu: 3:22am On Jun 25, 2015
Adanyebe:
The best solution that works is to compress the file to a zip format (e.g. yourfilename.zip) and upload via ftp client using the ftp details given to you. once uploaded to the right directory unzip it the content and have fun!
If you had an FTP client, why ZIP again...?!! angry

Unless you are aiming to reduce file size, its like applying for an undergraduate admission into Computer Science Department of Anambra State University with a PhD on the same Computer Science from Nnnamdi Azikiwe University. grin grin grin tongue tongue
Webmasters / Re: Web Design In 5 Days.. Is It Possible? by onyengbu: 4:26pm On Jun 24, 2015
ade95:
What do I benefit as a designer... Do you think it worth paying cos money scarce pah! Deir many things I need money for so I don't wanna regret d stuff
You are most likely going to regret spending that money on "Seminar" webdesign training. Chances that you will "learn" web design is very very slim.

If you have a computer, the money you will pay them in that seminar will be more than enough to buy you a data plan that you will use in searching and downloading free web design materials.

Tenks grin

2 Likes

Webmasters / Re: How Can I Upload More Than One File At Once Into My Cpanel? by onyengbu: 4:22pm On Jun 24, 2015
Then for someone else who might need this kind of help and does not know about FTP clients.

Please download Filezilla or any other FTP clients.
They will help you upload files, folders to your server the same way you transfer files across directories within your computer.

Tenks grin

4 Likes

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 46 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 80
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.