Ad Management mod

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

Previous topic - Next topic

vbgamer45

yes you need to alter your current theme files.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

simplebeer

Quote from: vbgamer45 on April 30, 2015, 09:52:14 AM
yes

Ok, but how?  Is there a example code to add a banner myself?
Sorry for my poor English, but i think it's probably better then your Dutch :)

margarett

You just need to host the image anywhere (in your own host or anywhere else) and then, in the "ad" configuration, put out the HTML "img" pointing to your image ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

simplebeer

Can you give me an example, i try but i am no good into html, there will be only the text i try :-X
Sorry for my poor English, but i think it's probably better then your Dutch :)

margarett

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

simplebeer

thanks  :D

but now i try this, it isn't working  :-X

<img src="http://www.whatever-path-to-image.com/image.png" align="middle">
Sorry for my poor English, but i think it's probably better then your Dutch :)

simplebeer

a this is working!

<center><img src=""></center>
Sorry for my poor English, but i think it's probably better then your Dutch :)

simplebeer

i now want to try if i can do this, can anyone help me?

I think i need tot add 6 adds, with 6 diffrent codes.
I already have the middle one, but what about the rest  :o

Sorry for my poor English, but i think it's probably better then your Dutch :)

simplebeer

Mmmm, just removed this mod because writing in html take some time and i first want to try something else.
After deintallation i get a strange layout and a feedback box in the left uppercorner, i fill in the feedback and press send, and now the forum page is blank  :o

OMG whats wrong?
Sorry for my poor English, but i think it's probably better then your Dutch :)

margarett

The feedback and the strange layout is caused the MOD and only when you uninstall (exactly due to that feedback window). You are not required to leave a feedback but I'm sure the author appreciates you for doing it ;)

The white page is usually a PHP error and it indicates that something went sour at uninstall. Are you sure that there was no error presented to you at uninstall?
You can try to restore a backup... But the best possibility is to follow the "manual installation of MODs" reverse and make sure that all file edits were performed, for every theme!
Manual Installation of Mods
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

simplebeer

I was already doing just that and found

At line 466 in QueryString.php this was left behind, strange because i didn't see any errors, maybe i was clicking to fast  :-\

Quote// Start Ad Mod
      // You can order copyright removal! From the mod settings cheap and helps support the mod author!
      $showInfo = AdsCheckInfo();
         
          if ($showInfo == true && !isset($adCopyright))
          {
         $buffer = preg_replace('~(, Simple Machines LLC</a>)~', ', Simple Machines LLC</a><br /><span class="smalltext"><a href="http://www.smfads.com" target="_blank">SMFAds</a> for <a href="http://www.createaforum.com" title="Forum Hosting">Free Forums</a></span>', $buffer);
         $buffer = preg_replace('~(class="new_win">Simple Machines</a>)~', 'class="new_win">Simple Machines</a><br /><span class="smalltext"><a href="http://www.smfads.com" target="_blank">SMFAds</a> for <a href="http://www.createaforum.com" title="Forum Hosting" target="_blank">Free Forums</a></span>', $buffer);
         $adCopyright = 1;
      }
   // End Ad Mod

Forum is working again and i now check the rest, thanks!
Sorry for my poor English, but i think it's probably better then your Dutch :)

simplebeer

For anyone else who has this problem, i followed the manual installation complete and din't find anything more  ;)
Sorry for my poor English, but i think it's probably better then your Dutch :)

vbgamer45

Glad you have it figured out.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

venty

Hello,

can anyone describe what with bookmarks which items are displayed ad?!?

Thanks in advance!

BR
Venci

vbgamer45

I don't undertstand the question. The system will show any adcode that you place in it.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

venty

I understand that, but me excites me how in this position to put code circled in red?!?

vbgamer45

Use one of the positions for the header then use center tags to make it aligned in middle.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

venty

What position should I choose?

vbgamer45

display ads right below the menu ..............
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

venty

I followed the instructions, but please look at the picture ...

Advertisement: