![]() |
Quote:
HTML Code:
$vbphrase[sponsored_by] <a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank"> HTML Code:
<a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank"> |
what does "tag" mean plz?
i copied and pasted <br/> tag but no joy......sorry me being a newbie.. |
Quote:
|
Quote:
Before installing... Will this support having banners display in the forums but not in the main web page? I think this might be "enabled small banner - no" and "enable big banner - yes"? -Raymond |
Quote:
|
Quote:
Yes, if I go to my site I would not want the main forum listing cluttered with ads, but if you click into a forum then show the big add in there above the thread listing. -Raymond |
cool hack, thank you
|
Quote:
Screenshot: https://vborg.vbsupport.ru/attachmen...1&d=1164197175 Quote:
|
Can you view this mod and use its code to make other sections like posts and pms and so on able to have the same features as you mod?
https://vborg.vbsupport.ru/showthrea...=131150&page=8 Would be nice to have counters and reports etc for all areas of advertisement. Thanks. |
The link to the documentation is broken (two x http instead of one :) )
|
I cannot figure out the correct path. here are the errors i am receiving when I click on the sponsor image...
Warning: chdir(): No such file or directory (errno 2) in /nfs/cust/2/98/81/718892/web/forum/vB.Sponsors/link.php on line 30 Warning: main(./global.php): failed to open stream: No such file or directory in /nfs/cust/2/98/81/718892/web/forum/vB.Sponsors/link.php on line 32 Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/php/include') in /nfs/cust/2/98/81/718892/web/forum/vB.Sponsors/link.php on line 32 Thanks, any help would be great. |
Quote:
Quote:
Quote:
|
Can someone post a working link for the guide?
Regards |
Quote:
|
Hi,
I have this installed (as well as the VBAdManagement mod). The sponsorship is displaying in the main category page, but not displaying on the following pages (it just says "Sponsored by" followed by a blank): http://www.mysite.com/vbulletin/forumdisplay.php?f=31 Also, I'd like the Sponsorship to show on every page of the threads themselves after the Vbulletin navigation bar (e.g. http://www.mysite.com/vbulletin/showthread.php?t=57). Can someone help? I double-checked the templates and I seem to have made all the appropriate additions. Here's the code for my forumdisplay template...looks ok no? <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if> <!-- vBSponsors --> <if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"> $vboptions[sponsor_global_default_text] <a href="vB.Sponsors/link.php?f=$foruminfo[forumid]" title="$foruminfo[sponsor_name]" target="_blank"> <if condition="$foruminfo[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1"> <if condition="!empty($foruminfo[sponsor_banner_big])"> <if condition="$vboptions[sponsor_global_enable_big_banners] == 1"> <img src="$foruminfo[sponsor_banner_big]" alt="$foruminfo[sponsor_name]" border="0" /> <else /> <img src="$foruminfo[sponsor_banner]" alt="$foruminfo[sponsor_name]" border="0" /> </if> <else /> $foruminfo[sponsor_name] </if> </if></a> </if> <!-- / vBSponsors --> </tr> </table> |
Do affiliate links work properly with the sponsor links by the way?
|
Quote:
|
Quote:
His allows you to put ads in header/footer/sides of forum/withinposts/within forum (like yours)/ etc with huge functionality to limit by usergroup or posts or this that and other for viewing. There is no reporting though of links for stats purposes for advertisers. |
yah the instructions dont work
|
Quote:
Quote:
Quote:
|
Quote:
Yup, I did that but it's still not displaying in the forumdisplay page. Can you take a look at let me know what might be the problem? Would hate to not use the mod because it works at the main cat level, just not forumdisplay. |
Quote:
|
Quote:
Quote:
There's no reason it shouldn't work with the forum path specified correctly in the link.php file. Keep in mind the vB.Sponsors directory is case sensitive. There is a file included that you can use to get the correct path. See the documentation for details. |
Basically I need to get the right path on the link file right?
|
Quote:
See http://www.digitaldeviation.com/content/view/57/20/ for more info. |
I appreciate your help. It works perfectly...
|
How do I go about centering the large banners in the actual forum view?
|
I get this error trying to add a sponsor:
Fatal error: Field sponsor_enabled is not defined in $validfields in class vb_datamanager_forum in /includes/class_dm.php on line 485 |
Installed, rnning and nice a 100%. Thanks
|
To Edit FORUM DISPLAY and FORUM HOME
---------------------------------------- Installation guide for vB.Sponsors 2.0. Product Installation Extract the contents of vB.Sponsors.zip to your computer Open upload/vB.Sponsors/link.php in notepad, wordpad or similar editor. On line 30, enter the path to your forum. This is the physical path not the URL. If your forum is located in /usr/com/userid/forums/, the path would be /usr/com/userid/forums/vB.Sponsors/ You can find the physical path to your forum directory by uploading and running the settings-check.php file that is in the do not upload/vB.Sponsors directory to the vB.Sponsors directory on your web server. Please delete this file when you are done. Upload the files in the upload directory to the corresponding directory on the web server under the forum directory. Open the Admin CP of your board. On the left hand side scroll down to Plugins & Products. Click on Manage Products. Click on Add/Import Product. Click on Browse... and choose the vB.Sponsors-product.xml file. Click Import. Template Installation You will need to modify the templates of your style(s). Sample template code is included with the download. This is for the default vBulletin style only. I highly recommend that you create a test style to apply template changes before you commit them to your regular styles. forumhome_forumbit_level1_nopost FIND: Code:
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> Code:
<!-- vBSponsors --> FIND: Code:
<div> Code:
<!-- vBSponsors --> FIND: Code:
<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if> Code:
<!-- vBSponsors --> FIND: Code:
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> Code:
<!-- vBSponsors --> |
Quote:
Quote:
|
Warning: main(./global.php): failed to open stream: No such file or directory in /home/content/a/c/2/ddddddd/html/vB.Sponsors/link.php on line 32
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/content/a/c/2/dddddd/html/vB.Sponsors/link.php on line 32 |
Quote:
|
How the heck do I get the large rotating banners to show up? The small ones are working like a charm, but i've added the URLs for the large ones and nothig shows, am I missing something?
|
Quote:
|
Quote:
|
Quote:
Banner rotation is in the works though. |
[13-Dec-2006 06:46:12] PHP Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/ec7f/public_html/vb/vB.Sponsors/link.php on line 32 [13-Dec-2006 06:46:12] PHP Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ec7f/public_html/vb/vB.Sponsors/link.php on line 32
I know ur going to say to check line 30 so here is line 30 chdir('/home/ec7f/public_html/vb/vB.Sponsors/'); I believe that is exactly how settings-check.php says to put it still having the global.php error. Please PM me with a solution. |
Quote:
|
well ty sir it works great now. I saw it did give me both and i thought i tried them both but i guess not. I appriciate the help.
|
All times are GMT. The time now is 01:58 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|