Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
vB Affiliate Linking System (Multi-Purpose & Flash-based) Details »»
vB Affiliate Linking System (Multi-Purpose & Flash-based)
Version: 1.00, by syrus.xl syrus.xl is offline
Developer Last Online: Apr 2016 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.9 Rating:
Released: 04-14-2007 Last Update: 04-16-2007 Installs: 67
Template Edits
Additional Files  
No support by the author.

vB Flash Affiliate Linking System (Multi-Purpose)



Important: No longer supported on vbulletin.org - advice and support only available from Digital Port UK
Another creative idea brought to you by Syrus XL Media.
Free and Pro versions available from ? http://www.digitalport.co.uk
LIVE DEMO: http://www.shedevils-ld.com
Released: 15th April 2007
Version: 1.0.0
Documentation: Download packaged with .txt and .pdf formats.
Color Variations: See end of this post for other available colors.

Description
Even though we have called this an ?Affiliate Linking System?, it could serve many other purposes, depending on configuration. Basically, it will rotate any image, along with a title and an active url. You can also rename the modification name (currently the text on the bottom left) by editing the content.txt file.

Some suggested uses of this modification:
  • Display forum Administrators and Moderators photos.
  • Use as a miniature gallery.
  • Use to display your affiliates.
  • Display latest store items for sale.


The modification uses no database queries and is totally XML driven, maybe in the future we will change this to a database driven modification.

Usage

Windows users can benefit from using the scroll-wheel to flick through the various links. By double-clicking on any image, the url will be opened in a new window. A single click on any image will bring it to the front.

Adding new links with thumbnails is just a case of creating the thumbnail and editing the XML file. There?s no need to know anything about Flash, everything is controlled externally. If you find that after adding a certain number of links they fail to load, or show - Make sure you are not viewing a cached version in your browser. You should clear your Temporary Internet Files to fix this problem.

vBulletin Installation
Please read this carefully, these instructions will place the modification display on your forum homepage (if you wish to put this on the vBadvanced CMPS please view below). These instructions assume you are using the vBulletin default style.

In all installations upload all the files within the UPLOAD folder to your forum root directory.

Directory structure:
adls_data.xml
adls_content.txt
vbadlsystem.swf
/adls_images
/clientscript/flashobject.js
Note: If you have installed previous modifications by us, you may find that the flashobject.js file is already in your vbulletin installation. This file is used for fixing compatibility issues when embedding flash files, with some browsers.

Template Edits:

AdminCP -> Styles & Templates -> Style Manager -> Default Style -> Edit Templates

In the headinclude template
FIND:
Code:
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
Above add this:
Code:
<script type="text/javascript" src="clientscript/flashobject.js"></script>
In Forum Home Templates > FORUMHOME template
FIND:
Code:
$navbar
BELOW ADD:
Code:
<div align="center" width="100%" id="link_display">
Warning!!! To view this please enable JavaScript and Flash! 
</div>
<script type="text/javascript">
   var fo = new FlashObject("vbadlsystem.swf", "link_display", "700", "230", "8,0,0,0", "#E9E9F2");
   fo.addParam("quality", "high");
   fo.write("link_display");
</script>
<!-- js flashobject -->
Change the "#E9E9F2" to suit the background color of your forum.

End of Template edits to Display modification on vBulletin homepage.

Configuring the adls_content.txt file

This file only contains the text which you want to display along the bottom of the display. When editing this file do not add spaces before the main variable.

EXAMPLE:
content=Whatever you want goes here

Configuring the adls_data.xml file
This file needs very little explanation, however here?s what 3 variables you can change per image url.

The file contents:
Code:
<?xml version="1.0" encoding="utf-8"?>

<photos path="adls_images/">   This path can be changed, just a default we have set for the images.

   <photo name="Digital Port UK" url="image1.jpg" link="http://www.digitalport.co.uk/"></photo>

</photos>
The ?photo name? is the text you would like under the image when displayed.
The ?url? is the path to your image (note the directory is not required).
The ?link? is for your image when double-clicked on.

Creating your thumbnails

Each thumbnails image is 200x150 pixels and a non-progressive jpeg format. The flash file will resize thumbnails when they are the incorrect size, but this may lead to distortion.



vBadvanced Installation

The installation is pretty much the same apart from one template edit. These instructions assume you have installed the CMPS inside your forum ROOT, not outside.

If you have installed the vBadvanced CMPS outside the forum ROOT you will need to prepend the urls of the edits required with the flashobject.js and the vbadlsystem.swf with the full url path.

You will need to upload all files as previously mentioned for the vBulletin installation and also do the headinclude template edit.

On top of this you will need to do the following edit:
In the vBadvanced CMPS Templates -> adv_portal
FIND:
Code:
<table align="center" class="page" cellspacing="0" cellpadding="0" width="100%">
BELOW ADD:
Code:
<div align="center" width="100%" id="link_display">
Warning!!! To view this please enable JavaScript and Flash! 
</div>
<script type="text/javascript">
   var fo = new FlashObject("vbadlsystem.swf", "link_display", "700", "230", "8,0,0,0", "#E9E9F2");
   fo.addParam("quality", "high");
   fo.write("link_display");
</script>
<!-- js flashobject -->
<br />
Change the "#E9E9F2" to suit the background color of your forum.

End of CMPS Template edits

Enjoy!

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 03-04-2008, 05:00 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

unless u had millions of images i doubt it'll ever slow the main page
Reply With Quote
  #73  
Old 03-04-2008, 05:03 PM
syrus.xl's Avatar
syrus.xl syrus.xl is offline
 
Join Date: Jun 2005
Location: In a cyber world...
Posts: 999
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sebil View Post
if i add this hack,,,
is there any chance of slowing down my site...

please help me,,,
i loved it a lottt
Hi,

It shouldn't affect page rendering, no database queries are used at all with this mod.

Regards,
Reply With Quote
  #74  
Old 03-04-2008, 07:28 PM
thunder_sti thunder_sti is offline
 
Join Date: Sep 2006
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working Like a charm. Thanks
Reply With Quote
  #75  
Old 03-20-2008, 09:00 AM
GTX2 GTX2 is offline
 
Join Date: May 2006
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i set this to open always on new window and not just on double-click?
thanks
Reply With Quote
  #76  
Old 05-04-2008, 07:54 PM
se_p800 se_p800 is offline
 
Join Date: Oct 2007
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is cool, added to customizepsp.co.uk/forums
Reply With Quote
  #77  
Old 05-07-2008, 03:59 AM
garza garza is offline
 
Join Date: Dec 2003
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it work on the latest version of VBulletin (3.7) ?
Reply With Quote
  #78  
Old 05-07-2008, 07:41 AM
syrus.xl's Avatar
syrus.xl syrus.xl is offline
 
Join Date: Jun 2005
Location: In a cyber world...
Posts: 999
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by garza View Post
Does it work on the latest version of VBulletin (3.7) ?
Yes, this is compatible with all versions of vBulletin - it's not script dependent, and uses no database queries.
Reply With Quote
  #79  
Old 05-07-2008, 08:15 PM
Spybot S&D Spybot S&D is offline
 
Join Date: Jun 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm.. I'm getting EPIC lag when I try to view my site..

I'm running the stable release of 3.7
Reply With Quote
  #80  
Old 05-07-2008, 08:36 PM
syrus.xl's Avatar
syrus.xl syrus.xl is offline
 
Join Date: Jun 2005
Location: In a cyber world...
Posts: 999
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spybot S&D View Post
Hmm.. I'm getting EPIC lag when I try to view my site..

I'm running the stable release of 3.7
Are you referring to this modification that is causing this issue? If so, please PM me the url.
Reply With Quote
  #81  
Old 05-07-2008, 08:44 PM
Spybot S&D Spybot S&D is offline
 
Join Date: Jun 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by syrus.xl View Post
Are you referring to this modification that is causing this issue? If so, please PM me the url.
Yes. Pm sent.

Please respond asap
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:15 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05069 seconds
  • Memory Usage 2,320KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete