help with adding advertising mod

Temporary forum to obtain support for MODs/Styles while phpbb.com is down
User avatar
COD3M4ST3R-X
Registered User
Posts: 228
Joined: Wed Nov 05, 2008 7:52 am
Location: Lahore,Pakistan
Contact:

Re: help with adding advertising mod

Post by COD3M4ST3R-X »

chelseaphil wrote:Thanks for the info. But still not getting any joy. Here is what I have done:

Uploaded Ad Management 1.0.8 folder to public_html/forum/ad management
used domainname.co.uk/forum/ad management/install.xml
Modified the pages as requested:
forum/includes/functions.php
forum/styles/prosilver/template/overall_footer.html
forum/styles/prosilver/template/overall_header.html
forum/styles/prosilver/template/viewtopic_body.html

Uploaded above files to appropriate folders.
moved the contents of root folder to public_html/forum/
created a banner folder for the images in public_html
added an advert in the ACP checked the Ad Enabled

Made sure the code is correct for the ad to be listed and image found
<A href="http://www.arboleaspropertyshop.com//">
<img src="http://www.arboleas.co.uk/banners/aps.gif" border=0></a>

Still no joy.

Helllppppp Please. this is doing my head in for what should be an easy task :( :(
1.You are not supposed to Upload Admanagement folder to your server.
only the files in Ad management1.0.8/root/.
2.You have to add the ads in the Advertisement Management Module in the Administration Control Panel.
Image
3.Your ad code seems to be not right.
Image
Long Live PhpBB!
chelseaphil
Registered User
Posts: 13
Joined: Tue Mar 13, 2007 2:00 pm

Re: help with adding advertising mod

Post by chelseaphil »

Thanks for that. Followed your instructions.

I am really sorry about all of this. I am not that dumb I promise you :)

Copied all files in the root folder to public_html/forum/

Edited the files and uploaded them

Just a thought but the board is phpbb 3.0.1
NOT 3.0.4 Would this be the cause?

I am sure this is the same code that was used on the forum before.

<A href="http://www.arboleaspropertyshop.com/">
<img src="http://www.arboleas.co.uk/banners/aps.gif" border=0></a>

added the advert again but not being displayed. But the counter is saying that it has been viewed. SInce I took the screen print the counter has gone to 763

Image
User avatar
COD3M4ST3R-X
Registered User
Posts: 228
Joined: Wed Nov 05, 2008 7:52 am
Location: Lahore,Pakistan
Contact:

Re: help with adding advertising mod

Post by COD3M4ST3R-X »

yes the MODS for phpbb 3.0.4
I strongly recommend you upgrade to 3.0.4
as it has lots of issues fixed. :D
Image
Long Live PhpBB!
chelseaphil
Registered User
Posts: 13
Joined: Tue Mar 13, 2007 2:00 pm

Re: help with adding advertising mod

Post by chelseaphil »

Adding the update worked Thanks.
But..............

Now I get this message when logged in as a user and wanting to read a message. Does not fail when reading as a guest. Help please!!

General Error
SQL ERROR [ mysql4 ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND user_id = 7' at line 4 [1064]

SQL

SELECT notify_status FROM phpbb_topics_watch WHERE topic_id = AND user_id = 7

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/functions_display.php
LINE: 1003
CALL: dbal_mysql->sql_query()

FILE: viewtopic.php
LINE: 456
CALL: watch_topic_forum()
Locked