vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vB Ad Management 4 (https://vborg.vbsupport.ru/showthread.php?t=131150)

mclark2112 04-07-2007 12:06 PM

Should I just overwrite everything, or uninstall first?

RedTyger 04-07-2007 12:07 PM

There's no need to uninstall, you will keep all your settings if you just overwrite although I have a feeling usergroup settings are lost from that version so make a note of them.

RedGTiVR6 04-07-2007 12:21 PM

FYI - the version number at the top of the post is different than the downloaded version.

3.12 v. 3.13

just something minor.

Thanks for the update btw!

RedTyger 04-07-2007 12:23 PM

So it is :) fixed!

vjw757 04-07-2007 12:46 PM

just want to make sure im doing this right... my forum is in a folder called forums... so i will upload this to forums/includes/vb_ad_management right?

RedGTiVR6 04-07-2007 12:52 PM

You will upload the includes folder. Basically, you will be overwriting the old files. Go into your FTP and find the includes folder and upload the contents of the Includes folder from your desktop.

Then go into your plugins manager and upload the XML, being sure to select yes to allow overwrite.

mclark2112 04-07-2007 12:56 PM

One last Question.

In the post bit, can I show both ads, after the first post, and after the last post, at the same time?

RedTyger 04-07-2007 01:21 PM

Quote:

Originally Posted by mclark2112 (Post 1221862)
One last Question.

In the post bit, can I show both ads, after the first post, and after the last post, at the same time?

You can, there are specific options for that in the Postbit Settings section.

Please click install (Menu in the top right of the post)

nanaimobar 04-07-2007 06:43 PM

Quote:

Originally Posted by echamberlain (Post 1198941)
You have to use javascript or the phpadsnew plugin that adds an ad's tag to the code.

Do I create the phpadsnew plug manually? If not, please indicate where plugin may be downloaded as I looked in openads and here and couldn't find it.

Thanks.

slipondajimmy 04-08-2007 03:04 AM

IM having an issue with the block not displaying correctly if I use left and right blocks. IT seems to throw off the main forum page. but looks ok in a topic

Any ideas what could be causing this? It also does it with the default theme as well.

mclark2112 04-08-2007 12:46 PM

Quote:

Originally Posted by nanaimobar (Post 1222090)
Do I create the phpadsnew plug manually? If not, please indicate where plugin may be downloaded as I looked in openads and here and couldn't find it.

Thanks.

You have to creat the ad in OpenAds, then generate the code for remote invocation. That code is what you put in your vB Ad block.

I would explain the whole process, but that is really complicated. You have to learn to love OpenAds....

peril 04-09-2007 03:21 AM

Installed this mod on VB 3.6.5. But no ads appearing.

Made all changes as per instructions.

I am not sure if I need to make changes given under "How to add your own custom adcode blocks in 3 minutes"

I have installed VB advanced also.

Appreciate if some can help me to debug.

Thanks

mattonline 04-09-2007 07:50 AM

hello, i'm having trouble integrating it with vbadvanced, www.EntrepreneurForum.co.uk - i want it unde the left side, under the search forums. I've searched this thread and couldn't find anything other than making it $global[header_advertisement] which didn't work it just messed up the forum. Do you know how to get it under the search forms part, the best i've done is get it to run along side the site navigation.

also

Find   in your header template and replace it with $header_advertisement.

i can't find   so wasn't able to insert $header_advertisement.

4newbies 04-09-2007 07:33 PM

From the size of this thread, I suppose this is the most popular Ad Management mod for vB or are there any other comparable alternatives?

This one seems to have most of everything I'm looking for. However, I'm also looking for some type of mod that complements this where people interested in purchasing advertising on the forum can go to a page where all available advertising sections are described with pricing and they can submit payment via e-Gold or other methods and then a notification is automatically sent to the Admin.

peril 04-09-2007 07:41 PM

Quote:

Originally Posted by peril (Post 1223057)
Installed this mod on VB 3.6.5. But no ads appearing.

Made all changes as per instructions.

I am not sure if I need to make changes given under "How to add your own custom adcode blocks in 3 minutes"

I have installed VB advanced also.

Appreciate if some can help me to debug.

Thanks

Apologize. I haven't enabled plug-ins. It's working now.

4newbies 04-09-2007 11:16 PM

I thought when you installed the mod, it automatically enables plugins.

Anyone know if this mod will only work with 3.6.5 or will it also work on previous versions as well?

nanaimobar 04-09-2007 11:18 PM

This is partial code from my header template indicating where $ad is placed. I have no ad showing. Tested ads in other parts of forum and everything works ok. Just a problem with the header. Tried selecting Yes for Header, tried for Footer, tried for static and tried for random. Zip.

Code: blah, blah, blah.

<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
$header_advertisement;
</td>

blah, blah, and more blah.

Is "$header_advertisement;" in wrong place?

Thanks in advance.
PS: Just one little ad button on right, as I'm still experimenting with Openads coding and look of site with advertising.

4newbies 04-10-2007 01:38 AM

Well I tried installing this mod on my forum and when the mod is activated, the forum just displays a blank white page. Anyone else run into this problem and know how to fix it? I'm running 3.6.5.

Thanks for your help.

elmati 04-10-2007 02:08 AM

*click install

nice addon
thx redtyger!

4newbies 04-10-2007 04:22 AM

Where exactly do I "Click Install" ? I did all the following:

Instructions

* Upload the product using the Product Manager.
* Go to Style Manager > Edit Templates and...
* Find <!-- post $post[postid] popup menu --> and paste $postbit_advertisement above it in your postbit & postbit_legacy templates.
* Paste $forumbit_advertisement at the bottom of your forumhome_forumbit_level1_post and forumhome_forumbit_level2_post templates.
* Paste $threadbit_advertisement at the bottom of your threadbit template.
* Paste $footer_advertisement at the top of your footer template.
* Find $spacer_close in your footer template and below it paste $rightcolumn_advertisement.
* Find in your header template and replace it with $header_advertisement.
* Find $spacer_open in your header template and below it paste $leftcolumn_advertisement.

There is nothing about "Installing" anything. I just uploaded the vb_ad_management_313.xml file through the product manager and the mod shows up in the admin panel but when I go back to the forum, it's just shows a blank page. If I disable the mod in vB Ad Management Global Settings, the forum goes back to normal. It might be something stupidly simple but I am a bit new to the vB Mods. Any help appreciated.

Thanks.

giovannicosta 04-10-2007 10:36 AM

Quote:

Originally Posted by 4newbies (Post 1223863)
Where exactly do I "Click Install" ? I did all the following:

Instructions

* Upload the product using the Product Manager.
* Go to Style Manager > Edit Templates and...
* Find <!-- post $post[postid] popup menu --> and paste $postbit_advertisement above it in your postbit & postbit_legacy templates.
* Paste $forumbit_advertisement at the bottom of your forumhome_forumbit_level1_post and forumhome_forumbit_level2_post templates.
* Paste $threadbit_advertisement at the bottom of your threadbit template.
* Paste $footer_advertisement at the top of your footer template.
* Find $spacer_close in your footer template and below it paste $rightcolumn_advertisement.
* Find in your header template and replace it with $header_advertisement.
* Find $spacer_open in your header template and below it paste $leftcolumn_advertisement.

There is nothing about "Installing" anything. I just uploaded the vb_ad_management_313.xml file through the product manager and the mod shows up in the admin panel but when I go back to the forum, it's just shows a blank page. If I disable the mod in vB Ad Management Global Settings, the forum goes back to normal. It might be something stupidly simple but I am a bit new to the vB Mods. Any help appreciated.

Thanks.

Click install at the top of this page. :p

I have my own question:
My header templarte has this:

Code:

<!-- logo -->
<a name="top"></a>
<!-- main table --><table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="maintable">
<tr>
        <td><!-- content table --><table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td class="header-row"><table border="0" cellspacing="0" cellpadding="0" class="header-table" width="100%">
        <tr>
                <td align="$stylevar[right]" width="9"><img src="$stylevar[imgdir_misc]/logo_left.gif" width="9" height="92" border="0" alt="" /></td>
                <td align="$stylevar[left]" class="header-table-row"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" height="92" alt="$vboptions[bbtitle]" /></a></td>
                <td align="$stylevar[right]" valign="bottom" width="100%" style="padding: 5px" nowrap="nowrap" class="header-table-row">

                <if condition="$show['member']">
                <div class="smallfont">
                        <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
                        <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
                        <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
                        <if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
                </div>
                <else />
                <!-- login form -->
                <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
                <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                <tr>
                        <td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
                        <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
                        <td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
                </tr>
                <tr>
                        <td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
                        <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
                        <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
                </tr>
                </table>
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="login" />               
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
                </form>
                <!-- / login form -->
                </if>       

                </td>
                <td width="9" align="$stylevar[right]" class="header-table-row"><img src="$stylevar[imgdir_misc]/logo_right.gif" width="9" height="92" border="0" alt="" /></td>
        </tr>
        </table></td>
</tr>
<!-- /logo -->

<!-- nav buttons bar -->
<script type="text/javascript">
<!--
function log_out()
{
        ht = document.getElementsByTagName("html");
        ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
        if (confirm('$vbphrase[sure_you_want_to_log_out]'))
        {
                return true;
        }
        else
        {
                ht[0].style.filter = "";
                return false;
        }
}
//-->
</script>

<tr>
        <td style="border: none; padding: 0;"><table border="0" cellspacing="0" cellpadding="0" width="100%">
        <tr>
                <td width="9" align="right" valign="bottom"><img src="$stylevar[imgdir_misc]/nav_top_left.gif" width="9" height="2" border="0" alt="" /></td>
                <td width="100%" class="navbar-top-row"><img src="$vboptions[cleargifurl]" width="1" height="2" border="0" alt="" /></td>
                <td width="9" align="left" valign="bottom"><img src="$stylevar[imgdir_misc]/nav_top_right.gif" width="9" height="2" border="0" alt="" /></td>
        </tr>
        </table></td>
</tr>
<tr>
        <td class="navbar-row" align="center"><table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" class="navbar-row-table">
        <tr align="center" class="vbmenu_dark">
                <td width="9" align="right" style="padding: 0;"><img src="$stylevar[imgdir_misc]/nav_left.gif" width="9" height="21" border="0" alt="" /></td>
                <if condition="$show['member']">
                        <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
                </if>
                <if condition="$show['registerbutton']">
                        <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
                </if>
                <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
                <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
                <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
                <if condition="$show['popups']">               
                        <if condition="$show['searchbuttons']">
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>
                                <td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
                        </if>
                        <if condition="$show['member']">
                                <td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>               
                        </if>
                <else />               
                        <if condition="$show['searchbuttons']">
                                <td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>
                        </if>
                        <td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
                        <if condition="$show['member']">                       
                                <td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>                       
                        </if>                       
                </if>
                <if condition="$show['member']">
                        <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
                </if>
                <td width="9" align="left" style="padding: 0;"><img src="$stylevar[imgdir_misc]/nav_right.gif" width="9" height="21" border="0" alt="" /></td>
        </tr>
        </table></td>
</tr>

<!-- content table -->
$spacer_open

$_phpinclude_output

There is no: &nbsp to replace with $header_advertisement, where should i put it?

vincetan 04-10-2007 01:28 PM

Hi milsirhc,

i got the problem that you face too. whereby if guest were browsing the thread, the ads will keep showing admin/site owner's ad code. it doesnt rotate with the thread starters code.

however if you login, the ad will be rotated properly.

so just wondering how you manage to solve it?

and RedTyger, thank you for the excellent mod. appreciate all your effort :)

regards,
Vince

4newbies 04-10-2007 03:57 PM

Quote:

Originally Posted by giovannicosta (Post 1224065)
Click install at the top of this page. :p

I've already clicked the link that says "Mark as installed" at the top of this page and still have the same problem. The entire forum is a blank white page when the mod is enabled... Any other suggestions?

RedTyger 04-10-2007 04:39 PM

Quote:

Originally Posted by mattonline (Post 1223138)
hello, i'm having trouble integrating it with vbadvanced, www.EntrepreneurForum.co.uk - i want it unde the left side, under the search forums. I've searched this thread and couldn't find anything other than making it $global[header_advertisement] which didn't work it just messed up the forum. Do you know how to get it under the search forms part, the best i've done is get it to run along side the site navigation.

also

Find &nbsp; in your header template and replace it with $header_advertisement.

i can't find &nbsp; so wasn't able to insert $header_advertisement.

It must be $GLOBALS not $globals.


Quote:

Originally Posted by 4newbies (Post 1224252)
I've already clicked the link that says "Mark as installed" at the top of this page and still have the same problem. The entire forum is a blank white page when the mod is enabled... Any other suggestions?

If you have other modifications installed, try disabling them and seeing if that makes a difference. You're the first to report a blank white page as far as I can remember...


Quote:

Originally Posted by vincetan (Post 1224149)
Hi milsirhc,

i got the problem that you face too. whereby if guest were browsing the thread, the ads will keep showing admin/site owner's ad code. it doesnt rotate with the thread starters code.

however if you login, the ad will be rotated properly.

so just wondering how you manage to solve it?

and RedTyger, thank you for the excellent mod. appreciate all your effort :)

regards,
Vince

Are you using vBSEO? If so, ensure you're using the latest version of the modification, I put this issue down to a conflict with that modification. Possibly incorrectly.

vincetan 04-10-2007 05:20 PM

hi RedTyger,

I installed the mod today which i downloaded about maybe 12 hours ago. so it should be the latest copy.

milsirhc told me to remove the id from "Enable Ad Sharing for Usergroups:"
and in actual fact i removed everything from that field since the very beginning.

but i still get the same issue.

as for vbseo, i just installed it an hour ago :D
and the problem still persist.

and my vb is pretty clean. your mod was the first that i installed.

any idea? :D

4newbies 04-10-2007 06:35 PM

Quote:

Originally Posted by RedTyger (Post 1224292)
If you have other modifications installed, try disabling them and seeing if that makes a difference. You're the first to report a blank white page as far as I can remember...

This is the first and only mod I have installed on my forum. Maybe there is something you might be able to see in the source code that is out of place perhaps?

http://www.4newbiesforum.com/

Any other suggestion to try?

Capper5016 04-10-2007 07:16 PM

I have swf and gif files, how can I add them to the ad rotation? How do I add links to them?

esck 04-10-2007 08:03 PM

I guess I did something very wrong, but I swear I followed the installation instructions very carefully.

When I turn on the ad management, my site cannot be accesed, could it be something related to vbadvanced?

4newbies 04-10-2007 08:16 PM

Quote:

Originally Posted by esck (Post 1224414)
I guess I did something very wrong, but I swear I followed the installation instructions very carefully.

When I turn on the ad management, my site cannot be accesed, could it be something related to vbadvanced?

Does yours show a plain white screen like my site does when I have this mod enabled?

nanaimobar 04-10-2007 09:02 PM

Quote:

Originally Posted by nanaimobar (Post 1223673)
This is partial code from my header template indicating where $ad is placed. I have no ad showing. Tested ads in other parts of forum and everything works ok. Just a problem with the header. Tried selecting Yes for Header, tried for Footer, tried for static and tried for random. Zip.

Code: blah, blah, blah.

<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
$header_advertisement;
</td>

blah, blah, and more blah.

Is "$header_advertisement;" in wrong place?

Thanks in advance.
PS: Just one little ad button on right, as I'm still experimenting with Openads coding and look of site with advertising.

*******
Removed the semi-colon after $header_advertisement in my header code. Copied code from the right-side ad that is working and pasted it into static content section of your header management.

It worked fine.

So the problem wasn't in your product but the coding I'm using from openads invocation.:eek:

Thanks.

esck 04-10-2007 10:40 PM

Quote:

Originally Posted by 4newbies (Post 1224421)
Does yours show a plain white screen like my site does when I have this mod enabled?

I'm on a mac, using safari, and this is what I get

Code:

Safari can?t open the page ?http://foro.esk.com.mx/?. The error was: ?bad server response? (NSURLErrorDomain:-1011) Please choose Report Bug to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.

Capper5016 04-10-2007 10:43 PM

Quote:

Originally Posted by Capper5016 (Post 1224389)
I have swf and gif files, how can I add them to the ad rotation? How do I add links to them?

bump

nanaimobar 04-11-2007 01:39 AM

I used the remote invocation code generated by openads but removed all references to zones in the invocation code. I used both WordPad and Notepad for changing the code, not MSWord, and they both worked fine.

Removed: document.write ("&amp;what=zone:4");
from around the middle of invocation code.

Also removed: what=zone:4
from last line of invocation code.

Your zone numbers will be different than mine.

I copied and pasted changed invocation code into the rotating ad section of the header/footer part of vB Ad Management. I separated the code so that a regular banner and a leaderboard would rotate.

I also used <center> and </center> at top and bottom of invocation code on the banners. I might change this to left later instead of center.

You can see them working here.

Thanks RedTyger. You sure made my life much easier. Two thumbs and two big toes up.

giovannicosta 04-11-2007 12:37 PM

Quote:

Originally Posted by giovannicosta (Post 1224065)
0

I have my own question:
My header template has this:

Code:

<!-- logo -->
<a name="top"></a>
<!-- main table --><table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="maintable">
<tr>
        <td><!-- content table --><table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td class="header-row"><table border="0" cellspacing="0" cellpadding="0" class="header-table" width="100%">
        <tr>
                <td align="$stylevar[right]" width="9"><img src="$stylevar[imgdir_misc]/logo_left.gif" width="9" height="92" border="0" alt="" /></td>
                <td align="$stylevar[left]" class="header-table-row"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" height="92" alt="$vboptions[bbtitle]" /></a></td>
                <td align="$stylevar[right]" valign="bottom" width="100%" style="padding: 5px" nowrap="nowrap" class="header-table-row">

                <if condition="$show['member']">
                <div class="smallfont">
                        <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
                        <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
                        <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
                        <if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
                </div>
                <else />
                <!-- login form -->
                <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
                <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                <tr>
                        <td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
                        <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
                        <td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
                </tr>
                <tr>
                        <td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
                        <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
                        <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
                </tr>
                </table>
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="do" value="login" />               
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
                </form>
                <!-- / login form -->
                </if>       

                </td>
                <td width="9" align="$stylevar[right]" class="header-table-row"><img src="$stylevar[imgdir_misc]/logo_right.gif" width="9" height="92" border="0" alt="" /></td>
        </tr>
        </table></td>
</tr>
<!-- /logo -->

<!-- nav buttons bar -->
<script type="text/javascript">
<!--
function log_out()
{
        ht = document.getElementsByTagName("html");
        ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
        if (confirm('$vbphrase[sure_you_want_to_log_out]'))
        {
                return true;
        }
        else
        {
                ht[0].style.filter = "";
                return false;
        }
}
//-->
</script>

<tr>
        <td style="border: none; padding: 0;"><table border="0" cellspacing="0" cellpadding="0" width="100%">
        <tr>
                <td width="9" align="right" valign="bottom"><img src="$stylevar[imgdir_misc]/nav_top_left.gif" width="9" height="2" border="0" alt="" /></td>
                <td width="100%" class="navbar-top-row"><img src="$vboptions[cleargifurl]" width="1" height="2" border="0" alt="" /></td>
                <td width="9" align="left" valign="bottom"><img src="$stylevar[imgdir_misc]/nav_top_right.gif" width="9" height="2" border="0" alt="" /></td>
        </tr>
        </table></td>
</tr>
<tr>
        <td class="navbar-row" align="center"><table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" class="navbar-row-table">
        <tr align="center" class="vbmenu_dark">
                <td width="9" align="right" style="padding: 0;"><img src="$stylevar[imgdir_misc]/nav_left.gif" width="9" height="21" border="0" alt="" /></td>
                <if condition="$show['member']">
                        <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
                </if>
                <if condition="$show['registerbutton']">
                        <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
                </if>
                <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
                <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
                <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
                <if condition="$show['popups']">               
                        <if condition="$show['searchbuttons']">
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>
                                <td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
                        </if>
                        <if condition="$show['member']">
                                <td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>               
                        </if>
                <else />               
                        <if condition="$show['searchbuttons']">
                                <td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
                                <if condition="$show['member']">
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                                <else />
                                <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                                </if>
                        </if>
                        <td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
                        <if condition="$show['member']">                       
                                <td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>                       
                        </if>                       
                </if>
                <if condition="$show['member']">
                        <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
                </if>
                <td width="9" align="left" style="padding: 0;"><img src="$stylevar[imgdir_misc]/nav_right.gif" width="9" height="21" border="0" alt="" /></td>
        </tr>
        </table></td>
</tr>

<!-- content table -->
$spacer_open

$_phpinclude_output

There is no: &nbsp to replace with $header_advertisement, where should i put it?


Bumparoonie

RedTyger 04-11-2007 05:15 PM

Quote:

Originally Posted by 4newbies (Post 1224364)
This is the first and only mod I have installed on my forum. Maybe there is something you might be able to see in the source code that is out of place perhaps?

http://www.4newbiesforum.com/

Any other suggestion to try?

Are you sure the files have been uploaded to the right location? Now I think I do remember someone with this problem and it was the cause. For you, they should be at http://www.4newbiesforum.com/include...ent/(file).php.

Quote:

Originally Posted by giovannicosta (Post 1224925)
Bumparoonie

Well it's a custom theme so I don't know where it should go. It can go anywhere so the worst you'll have to do is move it if you don't like where it shows up. Just give it a go.

IsMaR 04-11-2007 08:24 PM

Suggestion: feature geographically limit showing the ads, for example, only show to US, there is no reason to show ads to someone in Canada if they cant do it...

Neal-UK 04-11-2007 08:57 PM

An excellent hack. Is there anyway I can edit the footer advertisement from "vB Ad Management by =RedTyger=" to just "Ad Management by =RedTyger="?

Many thanks.

cajunboy2208 04-11-2007 09:49 PM

What is up with the footer? Sometimes it is one link, sometimes 2. But right now, it is displaying it 6 times!

cajunboy2208 04-11-2007 09:51 PM

Quote:

Originally Posted by Neal-UK (Post 1225331)
An excellent hack. Is there anyway I can edit the footer advertisement from "vB Ad Management by =RedTyger=" to just "Ad Management by =RedTyger="?

Many thanks.

Do you really want to take off the Vb? Or are you looking for the directions in how to take it off completely? hahaha. Nice try. Either way, I highly doubt you will get the info.

morrow 04-11-2007 10:09 PM

I apologize if this has already been asked, I did search the thread before asking but couldn't find it...

2 things actually...

First, what is this used for exactly? "To name a custom adcode block"...etc... I don't get it.

Second, This looks like an all or nothing type of modification. For example... Say I have a forum for sporting goods with forums setup such as:

baseball
football
basketball

and I want to have google ads for baseball target the baseball forum, football to the football forum, etc... This mod appears that baseball adsense ads would also appear in the football and basketball forums.

I'd like to be able to target certain adsense channels to their cooresponding sports so I don't have baseball ad's showing up in the basketball forums.

Hope I explained that the right way.

Thanks for the hard work. I will surely donate once I get the mod working the way I like.

THanks again


All times are GMT. The time now is 01:30 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03767 seconds
  • Memory Usage 1,965KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete