Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Lost add news/pictures/etc link - Google Ads

Well, you know that php-fusion comes with some links in the navigation for people to add news, pics, etc (they can submit through that and you have to approve the later). I deleted those accidentally.How do I put them back? :o

And also, how do I add Google ads (Adsense) to my php-fusion site?
Submit Link = submit.php?stype=l
Submit News = submit.php?stype=n
Submit Article = submit.php?stype=a
Submit Photo = submit.php?stype=p

(just overflow the Links left in the naigation and lookup the URL in the statusbar!)

Well first, get the Code of your Adsense! Than find space to place it. If u want it in a Panel than do this:

echo "CODE";

Or u can place it with <div...>Code</div>-Tags into your Page!
Every time I try to put my code in a panel, it says:


Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /www/110mb.com/d/y/e/g/o/v/_/_/dyegov/htdocs/fusion/administration/panel_editor.php(111) : eval()'d code on line 2

And I do not know how to put it into a div. Could you please be more specific? Thanks a lot
ok thats a Parse error, that means u have to change the " in the Code to '

like this example:


openside("Panel Name"wink;
echo "<a href='#'><img src='#'></a>";


openside("Panel Name"wink;
echo '<a href="#"><img src="#"></a>';

not correct:

openside("Panel Name"wink;
echo "<a href="#"><img src="#"></a>";

and some more....!
That worked! Thank you so much :D
Sorry for the double post, but do you know how I can add permissions for the panels? I added the ads in a panel, but if I only want guests to see it, how do I do that?

And how do I add a line break inside a panel? (The one we do with hr in HTML, like the one that comes by default separating the links I asked for before)

if (iGUEST) {
echo "CODE";

2. same as HTML <hr>
Thank you so much ;)
Thread Information
8 posts
2,875 times
Last Post
Last updated on 14 years ago
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.