News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Ad Management mod

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

Previous topic - Next topic

halfpint

#1680
Ok I now have another problem. I tried to install the seo mod before I installed the advert mod, I unistalled the seo mod as I could not get it working properly, But after installing and down loading the advert mod and replacing the script by downloading the zip and replacing the 3 templates, I now have a link at the top of every post, one which is (Dig This) and the other is (StumbleUpon this site)

and in the error logs on evry post is this

(8: Undefined variable: diggFirstMSG
File: /home/public_html/forum/Themes/classic/Display.template.php (eval?)
Line: 95)

Is this from the seo mod or is this from the add mod and how can I get ridd of it, It seems kinda weird how they just apeared after installing the add mod, I have also noticed that My adds will only display at the top of the forum on the index page and no where else, even when I change it to show at the bottom of the forum, I have set all permissions for guests and members to add enable

I am just a little confused now
Any help would be apreciated

Thanks

Bigguy

These errors are not from the ad mod.

halfpint

Quote from: Bigguy on July 23, 2007, 04:59:14 PM
These errors are not from the ad mod.

Ok thanks Im just confused as what to do now

Bigguy

What other mods do you have installed. ???

halfpint

Quote from: Bigguy on July 23, 2007, 06:55:54 PM
What other mods do you have installed. ???

Hi I have the smf update 1.1.3 and the add mod and thats it, the seo4 mod would not work proparly so I unistalled it and deleted the files from my cpanel then checked my data base and found no files from seo4 mod, Then i re-uploaded the add mod files, and its still doing it
I have posted in the seo mod Thread and it seems there is a lot of problems with that mod..Im waiting for a reply from the thread , hopefully somebody can help me out

Thanks

clp

hello.

i have installed ad mod but i can't see the link in admin panel.  My theme is arcane magic.  I hope someone could help me with this.

thanks.

Bigguy

Then your theme must be manually edited in order to see or use the ad mod. Look to www.smfads.com in the theme support board stickies for all the edits. The only things that need edited is the template files. Also if you are using the utf-8 english language please switch back to regular english in the server settings of the admin panel.

clp

hey there, thanks! it worked.  Just changing to regular english did the trick.

thanks again!

Bigguy

Now that that shows in the admin panel you will still have to edit the template files in order for the mod to work correctly.

clp

hi. can you pls. tell me what to edit in my file? my theme is arcane magic, smf version is 1.1.3. sorry, if this seems simple.  I'm new to this, hope you could bear with me.

thanks!

clp

#1690
oopss! got a parse error. 

got the ads showing but when i clicked on a topic i got a parse error.
hope someone could help pls.


Parse error: syntax error, unexpected $end in .../Themes/arcane_magic/Display.template.php on line 791

782:    if ($context['calendar_post'])
783:       $moderationButtons[] = '<a href="' . $scripturl . '?action=post;calendar;msg=' . $context['topic_first_message'] . ';topic=' . $context['current_topic'] . '.0;sesc=' . $context['session_id'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/linktocal.gif" alt="' . $txt['calendar37'] . '" border="0" />' : $txt['calendar37']) . '</a>';
784:
785:    if ($context['can_remove_post'] && !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1)
786:       $moderationButtons[] = $settings['use_image_buttons'] ? '<input type="image" name="submit" id="quickmodSubmit" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/delete_selected.gif" alt="' . $txt['quickmod_delete_selected'] . '" />' : '<a href="javascript:document.forms.quickModForm.submit();" id="quickmodSubmit">' . $txt['quickmod_delete_selected'] . '</a>';
787:
788:    return implode($context['menu_separator'], $moderationButtons);
789: }
790:

791: ?>

792:
793:

miromopa

How do you make this mod work with the A highway Template?

thanks.

Bigguy

@ clp: Can you attach your messageindex.template and your display.template.php here please

clp

#1693
 Please see attachment.  thanks.

Bigguy

Try this, rename it to Display.template.php ;)



Bigguy


diegolyanky

It's possible integrate into search template ? ...

Will be great !
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

slovenec

#1698
when i try to uninstall ad mod i get this error



????

Bigguy

@ diegolyanky: I would think so, yes. :)

@ slovenec: I have never seen that before. What version of ad mod do you have. ??? What version of SMF. ??? What other mods do you have installed. ???

Advertisement: