News:

Wondering if this will always be free?  See why free is better.

Main Menu

Ad Management mod

Started by SMFHacks.com Team, January 30, 2006, 08:41:19 PM

Previous topic - Next topic

Bigguy

The edits are in your files more than once. You will have to run the package through a package parser to get the edits it does and to what files. Then download those files and take out the duplicate code.

Worfor

Ok I will do that thank you bigguy

Sudhakar Arjunan

HI All,

am using 2.0.4 with Energy Theme - http://custom.simplemachines.org/themes/index.php?lemma=974

I have installed Ads mods and works perfectly in default theme.

Even i have coded all the theme edit, but i could not complete the edit only in display.template.php

Which i was sitting for hour and could not clear the php error.

I have attached the display.template.php. Kindly help me for custom theme edit only on the display.template.php page.

Thanks in Advanced.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

glennk

#3143
HI Guys,

Ive just done a fresh install of my whole forum due to lots of errors creaping in. I am slowly reinstalling all my required mods.

The first problem I have encountered is with this ad managment mod. The error reads as follows

Quotehttp://www.whitbyseaanglers.co.uk/forum/index.php?pretty;action=viewErrorLog&desc
Apply Filter: Only show the errors with the same message
8: Undefined index: ad_management
File: /home/glennk/public_html/forum/Sources/Subs.php
Line: 3277

and

Quote
Apply Filter: Only show the errors with the same message
Unable to load the 'Ads.english-utf8' language file.

This is perhaps the most important mod to get right for me as it displays mt adsense and paid ads on the site.

Worfor

Quote from: Bigguy on October 16, 2008, 11:00:22 PM
The edits are in your files more than once. You will have to run the package through a package parser to get the edits it does and to what files. Then download those files and take out the duplicate code.
Thank you Bigguy all is now well

Worfor

Please help
I am using ad management with v1.1.6 on the default
I have found a way to display my own ads using the ad managment edit ads screen and have selected that the ads should be placed in a tower on the left hand side of every page however they do not display within posts or on thread pages could someone please advise
I do not want to post my site adress here unless I am told it is ok to do so If I could you would see immediately my problem
Many thanks in advance
worfor

Bigguy

Your more than welcome to post a link to your site. It would better help us help you. :)

Worfor


glennk


anrapa2

Hello!
I tried to install it in two ways:
1) downloading the zip directly
2) uploading the exploded files to the Packages dir

When I try to install it says something about "parse"...
I will now try using the SMF Package Parser, "call you later"...

Bigguy

@ Worfor: I did not see any ads on your site at all using FF.

@ anrapa2: Use the package manager in the admin panel to install it.

cafenubia

Quote from: cafenubia on October 15, 2008, 09:00:15 AM
Quote from: Bigguy on October 14, 2008, 09:31:21 PM
Ok well; not sure why you posted all those files. All I wanted was the index.template.php file that you have done the ad mod edits to. :)


Ooops i misread your post........ :D
Here is the edited file ,i know the </td> is off but i had no idea where it was...


Not to be a pest,but after i posted this i hadnt heard anything back so ,im reposting it.

Bigguy

Have you done edits to the index.template.php file at all. If you have can you upload that file with the edits in it you did. ???

cafenubia

Quote from: Bigguy on October 20, 2008, 01:36:14 PM
Have you done edits to the index.template.php file at all. If you have can you upload that file with the edits in it you did. ???

Here it is...................actually the only edits im having trouble with is the one that goes after the <body> and the one that goes before </td> the other ones i have on my sites template now and they work,i have ads in my right left tower and after posts.But the two i missed would be helpful.

here is the edited file attached

Bigguy

You have multiple errors in this file and not all of them are from the ad mod. I have attempted to fix all of them but when I get one done another pops up.

cafenubia

Quote from: Bigguy on October 20, 2008, 02:41:40 PM
You have multiple errors in this file and not all of them are from the ad mod. I have attempted to fix all of them but when I get one done another pops up.


:-[ ......... Errors ? Is is because of my alignment of the code edits,im about 2weeks experienced into this mod thing.Ive added several mods that have worked perfect so i thought the template was correct,but i didnt know it was screwed up.

Is there a option in my smf forum admin for me to view the errors?

Bigguy

What editor are you using to do these edits. ??? Please don't tell me notepad. ??? If this is what you are using please get an editor that specifically edits php files. The one I use can be found by googling Php Designer. Having the right editor is half the battle. ;)

cafenubia

Quote from: Bigguy on October 20, 2008, 02:49:46 PM
What editor are you using to do these edits. ??? Please don't tell me notepad. ??? If this is what you are using please get an editor that specifically edits php files. The one I use can be found by googling Php Designer. Having the right editor is half the battle. ;)

lol..............yes notepad is all i know............

i just downloaded this version PHP Designer 2007 - Personal 5.0.2 is it good?
i saw a 2008 on another site but it wasnt free.

Thanks for the heads up!

Bigguy

I love it. This program can integrate itself with php and mysql if you have it installed on your computer....then you can debug all your edits and see if they have errors before you use them. To get php and mysql installed I download the progam xampp. its server software that you can install on your computer. After that you go into the options of php designer and put the correct paths in for the php.ini file and the php.exe file and you have successfully integrated all the php files into php designer. Now you can debug and do your edits. :) Hope you understood all that.

cafenubia

Quote from: Bigguy on October 20, 2008, 03:32:58 PM
I love it. This program can integrate itself with php and mysql if you have it installed on your computer....then you can debug all your edits and see if they have errors before you use them. To get php and mysql installed I download the progam xampp. its server software that you can install on your computer. After that you go into the options of php designer and put the correct paths in for the php.ini file and the php.exe file and you have successfully integrated all the php files into php designer. Now you can debug and do your edits. :) Hope you understood all that.

Hmmmmmmmm not quite understanding all that  ???  :D but ive downloaded xampp and  im going to read as much as i can to learn how to find the errors.

Advertisement: