Ad Management mod

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

Previous topic - Next topic

Sudhakar Arjunan

Quote from: Bigguy on October 03, 2008, 11:27:52 PM
This is something you will have to ask the mod author then. You can try to get a hold of him here:

www.smfads.com

yes Bigguy,

I have tried that too already.

http://www.smfads.com/forums/index.php?topic=1736.0

This i was requesting for last 6 months.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Bigguy

There's really not to much I can say if the mod author is not answering his own requests. If I see him online I will redirect him to this post for you. :)

Goodman854

Quote from: goodman854 on September 26, 2008, 11:38:37 PM
Quote from: F.L.A.M.E.R on September 17, 2008, 06:18:05 PM
its just the place its looking is taken by some other code.. do it manually.. it is easy to be done...
sounds simple but what do I do? Add what code to premmisissions?
Please help!

prakasharavind5

Hi i have installed smf.v.1.1.6. I have installed ad management mod and google ads are showing in default template. But ads are not showing in my theme cristal vista.

1) I have installed in the mod thru admin panel.

2) I followed all the instructions given in the admanagement mod 1.1.6 manual.


Still not showing. Pls help.

ronboy

#3124
I've installed ad management on my messageboard it works, but not every member can see the ads.  Some can, and some can't view it.  how can i fix this?  how can i fix this?  what i am doing wrong, i want every member to see the ads.

ccbtimewiz

Quote from: ronboy on October 09, 2008, 01:15:45 AM
I've installed ad management on my messageboard it works, but not every member can see the ads.  Some can, and some can't view it.  how can i fix this?  how can i fix this?  what i am doing wrong, i want every member to see the ads.

Have a look at this: http://www.smfads.com/forums/index.php?topic=1860.0

Goodman854

Any easy fix to permission problems?

cafenubia

Ive ran into a problem integrating this mod ,im using smf 1.1.6 im manually installing this mod ,ive installed all but the ./Themes/default/index.template.php changes.

Im using a custom theme that ive edited several time with no problem.

The problem im having now starts with


Find:
<body>';



Add After:
//Display ads on the top of the page if (function_exists("show_topofpageAds")) { $ads = show_topofpageAds(); if(!empty($ads)) if($ads['type']==0) echo $ads['content']; else eval($ads['content']); unset($ads); }


In my template the body tag is just <body> with no '; after it


Next  the mod instructions have
Find:
</td>


Im not understanding which </td> in the template to place the next code after,being there are many </td> in the template

I tried adding the

//Display ads on the top of the page if (function_exists("show_topofpageAds")) { $ads = show_topofpageAds(); if(!empty($ads)) if($ads['type']==0) echo $ads['content']; else eval($ads['content']); unset($ads); }

After the <body> in my site and i get this error

Template Parse Error!
There was a problem loading the /Themes/FlowMOTION-Yellow/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
syntax error, unexpected T_STRING, expecting ',' or ';'

Anyone have a clue or some guidance for me in this matter,the mod is a prt of my site already i have the settings in my admin already.This should be the last step.


Bigguy

Try adding this after the edits for the body tag:

';

Also if this is a custom theme, compare were the edits are in the default index.template for the edit:

</td>

and place them acordingly.

@ goodman854: You'll have to look in the modifications.xml file in the mod or use the package parser to find the edits for permissions.

bfeo

How can I record clicks for ads, and not just views?

Also, is there a way that I can post these clicks inside a post, similar to this? http://planetrenders.net/affiliates.php

Bigguy

You would have to ask the mod author if this is possible.

cafenubia

Quote from: Bigguy on October 13, 2008, 08:35:01 PM
Try adding this after the edits for the body tag:

';

Also if this is a custom theme, compare were the edits are in the default index.template for the edit:

</td>




and place them acordingly.

@ goodman854: You'll have to look in the modifications.xml file in the mod or use the package parser to find the edits for permissions.


I tried adding  '; after the edit and before the edit i still get the template parse error

I couldnt compare the default template the code isnt there,i think but im not sure,that when i ran the install it showed test failed for the default template so i modified it myself.

Ive uploaded a attachment of my index template ,if anyone can assist me i would greatly appreciate it  :D

Bigguy

Can you add all your ad mod edits to that file and post it again please. Also you can upload php files here, or you should be able to.

cafenubia

#3133
Quote from: Bigguy on October 14, 2008, 04:31:45 PM
Can you add all your ad mod edits to that file and post it again please. Also you can upload php files here, or you should be able to.

Yes Sure.


Here They Are..........



Bigguy

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. :)

cafenubia

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...

tank1

Hi gays!

I have just upgraded SMF 1.1.4 to 1.1.6
And now I am trying to install Ads-mod.

I read that I have to change source code of some files and start doing it but ...
in second file ./Sources/Admin.php THERE WAS NOT searched strings !!!

What to do??


* ad_mod_v2-3-4_SMF_vbeta4.zip
(I read instructions after Submitting the form at http://custom.simplemachines.org/mods/index.php?mod=255)

* I attached the file ./Sources/Admin.php

* the forum runs on hxxp:clubzeland.com/for1 [nonactive]

bfeo

Quote from: Bigguy on October 13, 2008, 10:33:34 PM
You would have to ask the mod author if this is possible.


Is that implying that the mod author doesn't read this thread?

Bigguy

No that is implying that he has his own site to run and he might not check this thread as regularly as he should. :)

Worfor

HI

Please help I am new to all of this but it is great fun
My problem is that when I add an add it appears three times in the edit ads section and twice on my forum.
I am now officially bald, please help

Thank you in advance

Worfor

Advertisement: