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

sviridovt

this was maybe asked before, but how do I make one user group not see ads

fresh iz ere

Works amazingly, great work!

vbgamer45

Quote from: sviridovt on January 18, 2011, 07:45:51 PM
this was maybe asked before, but how do I make one user group not see ads
There is a permission under permissions to enable ad's/disable ads for a group
Community Suite for SMF - Grow your forum with 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

radioz

#5923
Hi!

I entered my primary website's header complete with .css <style> information using the Ad Modification Mod.  This forum (http://antiqueradio.net) is related to that site but is on a different domain name.  This seemed to work with the exception that the Simple Portal right column with recent posts and recent topics, etc. squishing things as the Simple Portal column no longer aligned with the rest of the board index but was aligned with the header instead.  I then increased the minimum width for the forum in the index.css code.  A footer related to the header worked fine until whatever point my problem developed.

My problem is that now, the only portion of the Ad Modification Mod that is working on the forum is the section for the top board index area where that head is.  Whatever I enter there works.  No other ad areas that I have tried will display any longer.  Oddly, ALL ads DO display in the window that displays when you are looking at the index.css code.  I am not sure at what point the problem developed as I was concentrating on that header only.  I changed that minimum number from 780px to 968px (related to my main site) and then back again and changed one color in the .css code.  All of those changes functioned as expected.  I also have a parallel forum that I have been building.  I copied it's .css to the 'broken' forum and NO changes were noted at all (except that font color changed)!

My question is 'is there anything that comes to mind that may be the problem'?  I looked at installing the mod but there are several errors noted and when I tried, a block came up that 'guaranteed failure' plus I am not sure that is the problem.  The forum is not in use yet so I could uninstall the entire it but that will obviated several hours of (replicable) work.  I just figured that I would for ideas ask prior to reinstallation of the forum.

The last question that I have is 'would your ez Portal offer an aligned top board index for a long ad header' and is there any way to get the header to the TOP of the forum (the Ad Modification Mod didn't work in the 'top of the forum' mode at any point for this header)?

Thanks!

mrtarkhan

don't have persian language ?

i can translate it to persian and attach it here.

for tomarow
هر پرسش خردمند، نيمي از پاسخ را در خود دارد.((سليمان ابن گاويرول))

snyperthugs

#5925
I am installing the Ad Management mod on SMF 1.1.12 on FerryTemaV2 Theme. I got all the code manually installed buy cannot install the the code on Themes/FerryTemav2/Index.Template.php

The stuff they tell me to look for does not exist. I tried so many different things, and yes I backed up the original. If somebody could help me I would greatly appreciate it alot. I spent all day on this one code. And there is no other mods installed yet

Attached is the original.

Thank You in advance for anybody that trys to help
www.4mydjs.com - Get Your Music Heard!

radioz

I went through all of the maintenance functions and no change in my 'missing' ad status occurred and no errors were found.  I then started looking through files on the uninstall page with special notice to the ones marked as failed.  After I found the board index file changes, looked at them, and then closed them, my ads reappeared.,  I have no clue as to what happened.  No changes were made that I am aware of.  My install is working now although I am afraid to try placing that header code again although it is sitting in my files with no display positions selected.   Odd.

Jeet Chowdhury

how to enable this mod in back n black and other themes?


and how to expand always quick reply area?

Arantor

Quote from: Jeet Chowdhury on January 20, 2011, 02:52:20 AM
how to enable this mod in back n black and other themes?

Manually edit the theme.

Quote
and how to expand always quick reply area?

This has been covered so many times in both the 1.1.x and 2.x support board - please use the search function.
Holder of controversial views, all of which my own.


Jeet Chowdhury

what i put in search keyword?? "how to expand quick reply forever"????

and what to edit in theme code. thanks in adv.

Arantor

Quotewhat i put in search keyword?? "how to expand quick reply forever"?

'quick reply on by default' should find it.

I don't know what theme code you need to edit it, I don't use this mod or the theme you mention. The mod's maintainer will install it for you for $15 if I remember right.
Holder of controversial views, all of which my own.


cezars

#5931
Apply Filter: Only show the error messages of this URL
hxxp:forum.leet.ro/index.php?action=admin;area=packages;sa=install2;package=ad_mod_v2-3-6-4_SMF_v2-0.zip;pid=0 [nonactive]
Apply Filter: Only show the errors with the same message
2: gzwrite(): supplied argument is not a valid stream resource
Apply Filter: Only show the errors from this file
File: /var/www/htdocs/leet/Sources/Subs-Package.php
Line: 2775

Apply Filter: Only show the error messages of this URL
hxxp:forum.leet.ro/index.php?action=admin;area=packages;sa=install2;package=ad_mod_v2-3-6-4_SMF_v2-0.zip;pid=0 [nonactive]
Apply Filter: Only show the errors with the same message
512: package_flush_cache(): some files are still not writable
Apply Filter: Only show the errors from this file
File: /var/www/htdocs/leet/Sources/Subs-Package.php
Line: 2499

Apply Filter: Only show the error messages of this URL
hxxp:forum.leet.ro/index.php?action=admin;area=packages;sa=install2;package=ad_mod_v2-3-6-4_SMF_v2-0.zip;pid=0 [nonactive]
Apply Filter: Only show the errors with the same message
2: fopen(/var/www/htdocs/leet/Sources/Ads.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory
Apply Filter: Only show the errors from this file
File: /var/www/htdocs/leet/Sources/Subs-Package.php
Line: 2495

Apply Filter: Only show the error messages of this URL
hxxp:forum.leet.ro/index.php?action=admin;area=packages;sa=install2;package=ad_mod_v2-3-6-4_SMF_v2-0.zip;pid=0 [nonactive]
Apply Filter: Only show the errors with the same message
2: copy(/var/www/htdocs/leet/Themes/default/languages/Ads.english-utf8.php) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
Apply Filter: Only show the errors from this file
File: /var/www/htdocs/leet/Sources/Subs-Package.php
Line: 1380

Apply Filter: Only show the error messages of this URL
hxxp:forum.leet.ro/index.php?action=admin;area=packages;sa=install2;package=ad_mod_v2-3-6-4_SMF_v2-0.zip;pid=0 [nonactive]
Apply Filter: Only show the errors with the same message
2: copy(/var/www/htdocs/leet/Themes/default/languages/Ads.english.php) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
Apply Filter: Only show the errors from this file
File: /var/www/htdocs/leet/Sources/Subs-Package.php
Line: 1380
Apply Filter: Only show the error messages of this URL
hxxp:forum.leet.ro/index.php?action=admin;area=packages;sa=install2;package=ad_mod_v2-3-6-4_SMF_v2-0.zip;pid=0 [nonactive]
Apply Filter: Only show the errors with the same message
2: gzclose(): supplied argument is not a valid stream resource
Apply Filter: Only show the errors from this file
File: /var/www/htdocs/leet/Sources/Subs-Package.php
Line: 2789

there are many liles like this one this is just one of them this is from error logs some help will be welcome

snyperthugs

I'll try again  :'( . I am installing the Ad Management mod on SMF 1.1.12 on FerryTemaV2 Theme. I got all the code manually installed buy cannot install the the code on Themes/FerryTemav2/Index.Template.php

The stuff they tell me to look for does not exist. I tried so many different things, and yes I backed up the original. If somebody could help me I would greatly appreciate it alot. I spent all day on this one code. And there is no other mods installed yet

Attached is the original.

Thank You in advance for anybody that trys to help
www.4mydjs.com - Get Your Music Heard!

Jeet Chowdhury

i want to add ad mod for

Core Theme (2.0 RC4) theme

and

Back n Black (2.0 RC4)



here is link.

which file to edit? and where?

Jeet Chowdhury


Kindred

do not bump your posts.   especially not after only 1 hour
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Jeet Chowdhury

#5936
ok bro. atleast tell me how to add this mod in http://www.simplemachines.org/community/index.php?topic=328365.0 theme. actualism theme.

petb

Hello,

2.6.3.4 and earlier Version does not show Ads in Firefox, in all Positions like IE did.
I use the default Theme.

One Example:
From the Main Page, i click an Board then i see the topics in the board, the child boards and so on,
but i cant see Ads in FF but all works fine in IE.
........
After clicking to went to an Board, i see the ads under the child boards in IE
They where inserted from the Mod in this Area: (MY_AD)
</div> MY_AD
<div class="pagesection">

But at the same Positon in Firefox is see only:

</div>
<div class="pagesection">
And so i cant se the Ad in Firefox....

This happend to all Ads i want to see in this Location.

So the Forum does not deliver the ADs on this Page to FF but to IE.

Cann someone give me an Hint to fix this manually ?

I guess that this could happend because the Forum handles IE and FF Output different and the Mod does not depend to that and only insert the AD in the IE Section ?

petb

For Testing i inserted some echo´s in the "MessageIndex.template.php" at the Position where the Ads under Chilkd boards are inserted by the Function of the Mod.



</div>'; //Display Ads on the Message index
if (function_exists("show_underchildren"))
{
$ads = show_underchildren();
if(!empty($ads)){
echo "ads is filled with data ";
if($ads['type']==0) {
echo $ads['content'];
echo "ADDTYPE 0 ";
}else{
eval($ads['content']);
echo "ADDTYPE !0 ";
}
}else{ echo"ads was empty ";}
unset($ads);
echo " CHILD Func end";
}


And the Results are:
For IE and Opera: "ads is filled with data ahaaaaADDTYPE 0 CHILD Func end"
That means everything is working fine and the AD Content "ahaaaa" is displayed .

But in Firefox i see only my Outputs: ads was empty CHILD Func end
That means that, if Firefox was used, the  function show_underchildren() in

//Display Ads on the Message index
if (function_exists("show_underchildren"))
{
$ads = show_underchildren();
if(!empty($ads))
if($ads['type']==0)
echo $ads['content'];
else
eval($ads['content']);
unset($ads);
}

gives no data to "$ads".


Anyone can give me a Hint how to investigate, in which Direction to search for the Error  ?

vbgamer45

That does not make sense to me since that is php code that is run on the server and not client side code so not sure how they would be different for other browsers.
Community Suite for SMF - Grow your forum with 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

Advertisement: