![]() |
vBaffiliates5 - Allow Users to Add & Edit their Own Affiliate Links!!!
Please do the following before attempting to install:
1.) Backup your Files before doing anything 2.) Be aware that although I have tested this myself, there may still be problems...If you do not backup your files, I cannot condone your install of this hack... 3.) If you want to Backup your Database, You can - There shouldn't be any need to... The file you should have is: vBaffiliates5.zip Install Info: Hack Version: 5.0 [Final] Files to edit: 2 Templates to add:13 (New Install) / 0 (Upgrade from v4) Templates to edit: As Many as needed (New Install) / Minimum of 1 (Upgrade) Queries to Run: 6 (New Install) / 0 (Upgrade from v4) Time to install: Approx 8-10 Minutes Included files: There are 2 install files included - One is for upgrading from v4, and the other is for a new install - Do not mix them up;) Credits Requested by - DarkDraco07 here & Sinecure Support - I am offering Support in this Thread ONLY...I unfortunately cannot be here during the coming weeks (Mon-Fri), so therefore you will have to rely on others for assitance, should it be urgent...If you do require assitance, please - Only reply in this thread Hack info What does it do? - Basically, you can allow registered board users to add Affiliation Links to the database, which have to be moderated by you...You can then display a Random Banner generated totally at random wherever you like, and it will be linked to the site of the submitter...Also it stores the Image Height and Width in the database, and you can limit the size of the Banners they can upload...If they change the image (located on their server) without editing their Banner, then it will not show up their Banner, Link, Hit Count, Edit Link or Site Name...They must then ask an Admin to update the Banner...Now there is also a List of the Banners on the site, and their Moderated Status...You can also choose how many Banners to show in the list;) Testing You can see the BETA Release here... Changes since BETA
Changes since 1.0[Final]
Changes since 2.0[Final]
Changes since 3.0[Final]
Changes since 4.0[Final]
Additional Info/Updates 2.0[Final] - 2.0[Final] has just been released...This includes an Image Size restriction, and a clever system for those who think they can get around the system - It stores the image's height and width, and uses HTML to code the width and height of the image - If they change it, it will show a red "no image found" image instead... 3.0[Final] - 3.0[Final] has just been released...This includes an update to the Image Size restriction, and an update for the clever system for those who think they can get around the system - It stores the image's height and width, and uses HTML to code the width and height of the image - If they change it, it will not show their Banner, Link, Site Name, Edit Link or Hit Count... 4.0[Final] - 4.0[Final] has just been released...This includes an update to the Image Size restriction, and an update for the clever system for those who think they can get around the system - It stores the image's height and width, and uses HTML to code the width and height of the image - If they change it, it will not show their Banner, Link, Site Name, Edit Link or Hit Count...Now there is also a List of the Banners on the site, and their Moderated Status...You can also choose how many Banners to show in the list;) 5.0[Final] - 5.0[Final] has just been released...This release includes a new set of .php files which have been re-coded to work with register_globals off, and also the coding structure has been changed... The next release is a List of "User's Banners" page, and a then a Timed function to set the Moderated status to 0 (No) when the time period expires... Screenshots/Live Demo There are NEW screenshots provided in the next post, in vBaffiliates5-screenshots.zip:) Enjoy!:) Satan |
Screenshots of vBaffiliates5:)
Satan |
Mega coolness:D
Finally the final release:D Great hack hellsatan:D Will install on my board very soon:) |
Heh thanks Ag:)
I am gonna install this on DarkBlazes soon:) Satan |
I'm working on something semi-similar to this, this looks absolutely fantastic though :) Great job!
|
would be nice to add a option that allows unregistered members to affiliate. cuz we are a gaming clan and we get allies and stuff. and adding a email field would hurt >.>
|
this seems very kool. I like this concept I will most definatly install on my forum *clicks Install*
|
by moderate, do you mean admin approve it before it shows up?
|
anyone have a live screenshot of this installed?
|
<a href="http://www.darknemesis.com/myvbindex.php" target="_blank">www.darknemesis.com/myvbindex.php</a> is a working version
|
also, if anyone wants to do what i did heres how to do it:
if you want unregistered people to be able to affiliate without registering do this: open vbaffiliates.php and find: -------------------------------------- if ($bbuserinfo['usergroupid']=="1") { show_nopermission(); } -------------------------------------- erase it and upload :p |
Quote:
|
Another question. How are you controlling the size of the banner?
|
um, the banners are originally 88x31. i dont know if hellsatan made it so its 88x31 only. and for the topsites i just edited the image height and width in the html coding
|
Quote:
|
|
is there a way to show the links on a page in rows etc?
Also could it be possible to categorize them? |
@jj0923 - I suppose you could look at it that way...But this shows the Banners, and was coded differently to Arunan's hack;)
@colicab-d - I'm not sure what you mean by rows:s It would be possible to Categorise them, but I don't see the need when you only get to see a Randomnly chosen one... If, by rows, you mean more than one Banner, then just change the Query in global.php, and change: [sql]LIMIT 1[/sql] to the number of banners you want to show, i.e. [sql]LIMIT 3[/sql] :) @Smoothie - Controlling the Banner is proving to be difficult - Seeing as the url is stored, not the image, it is hard to find a way to limit the size of the banner... Satan |
Quote:
|
Yes:)
Thanks NTLDR:) We have worked out a way to do it...They still can cheat the system (:(), but their banner will look screwed up if they do:p Releasing 2.0 in a few minutes!:) Satan |
I've an idea to rectify that ;)
|
Does the current system link the banner? I'd rather upload the banner to my own server, and have it displayed from there.
|
Just looked at the screen shots, very nice.
|
Yes it does link the banner...I am working on the Hits version (v3) next, and then the "timed banner" addon for you:)
Satan |
Cool hack!
|
Quote:
Something like this hack, which allows banner uploads. I really don't want someones banner slowing our site down. Check it out: https://vborg.vbsupport.ru/showthrea...hlight=vblinks |
Thanks alkatraz - v3 is very near to release:)
I just need to test the major new feature, which is "User Editability";) Satan |
@Smoothie - It is possible...I just need to learn how to do a good Upload script that complies with the limitations set by each board...
Satan |
This looks nice satan... :p
|
Quote:
PHP Code:
|
It's ok Mystis...
v2 has the Size limiter in;):) I used code a little bit different to that;) @Mist - Thanks:p Satan |
v3
v3 will be released tomorrow:) v3 includes:
:) Satan |
Good cant wait.. V2.. When someone tries to add their link. It always says that the banner is too big.. How do i fix that.
|
how do u make it show more than 1 banner
|
@kevo - I myself had this problem...In the vBulletin Options, be sure to read what Value you are setting for Height and Width restrictions...
If you do not want restrictions, just set them both to something like 900:) @DarkDraco - This is untested, but: Open forum/global.php Find: Code:
$affillink = $DB_site->query_first("SELECT linkid,name,link,b_link,height,width FROM vbaffiliates WHERE moderated='1' ORDER BY RAND() LIMIT 1"); Code:
$affillink = $DB_site->query_first("SELECT linkid,name,link,b_link,height,width FROM vbaffiliates WHERE moderated='1' ORDER BY RAND() LIMIT X"); Satan |
i would like to see it be able to display all the links on a page in rows and categorized :D thats what i mean , that would be so cool :D
|
Hmm...Like a List of Affiliates? Hmmm...Maybe v4 or v5;)
Satan |
v3 released
v3 is released:) Check the First Post for Installation file, and 2nd post for Screenshots:) Satan |
COol Great job Satan!
|
Heh thanks Arunan:)
Satan |
All times are GMT. The time now is 10:46 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|