![]() |
Links To Us Hack
This is my 3rd hack (second to be realeased) I hope you enjoy this great new website promotional tool.
This hack is designed to operate on its own or with Lesane's store hack If you have the store hack installed you can give points to members when people click the link on their website. This hack makes it easy for everyone to put an image or text link from their site to yours. it produces the code for the user so all they have to do is copy and paste the html tag to their site. There are 3 variations of banners and links that your guests or members can choose 1) Produces the code for a link with a remotely hosted image or banner. 2) Produces the code for an image link that is hosted on your server. (switchable for both guests and members) 3) Produces the code(s) for a set of special banner or image links that is hosted on your server. Basicly if you have other banners you can add them, and even restrict their use to members only.(switchable for both guests and members) All the links that are produced by the code lead back to the linkstous.php and when clicked on from another website the surfer well be brought to a welcome page of your site, If the link followed was from a non-member, the welcome page they come to is a generic page that you will create in your config, however your members can develop a personalized their own welcome page for when somebody clicks the link on their site. There is also a link counter so you can keep track of how many click-throughts you get from non-member links and also from each member individually, there is a "Top 10 Linkers" in the members area and a full stats page in the admin that has a top 50 member linkers list. The system will not count or give points if the owner of the link clicks on it themselves! DEMO: Pretend that the link below is a banner on my website www.atmyparty.com banner SCREENSHOT: Next posts REQUIREMENTS: 1 X php file alteration 4 X database query 15 X new templates 1 X template modifications INSTALATION TIME: aprox. 25 - 30 min Tested on 2.2.8 but should work on all versions. I appologise for the poor datadase info..I have just finished coding and testing a php file to do the quries for you. updated zip with java bug fix ~ This hack is Copyright ~ Please note that I reserve the right to code and release this hack for VB3, I have not and will not grant permission for anyone else to code this hack for VB3. |
general area
|
edit personal welcome page
|
next
|
admin config
|
admin modify / add banners
|
admin stats
|
i receive an error with the second query Errore
query SQL : CREATE TABLE `banneradmin` ( `event` smallint( 5 ) unsigned NOT NULL auto_increment, `storehack` SMALLINT( 6 ) DEFAULT0 NOT NULL , `storecredit` smallint( 5 ) DEFAULT0 NOT NULL , `serverpath` varchar( 100 ) NOT NULL , `guestsfromserver` smallint( 5 ) DEFAULT0 NOT NULL , `guestsspecial` smallint( 5 ) DEFAULT0 NOT NULL , `alttext` varchar( 100 ) NOT NULL , `linktext` varchar( 100 ) NOT NULL NOT NULL , `bannerimg` varchar( 100 ) NOT NULL NOT NULL , `welcometext` mediumtext NOT NULL NOT NULL , `guestclicks` smallint( 6 ) DEFAULT0 NOT NULL , `membersfromserver` smallint( 5 ) DEFAULT1 NOT NULL , `membersspecial` smallint( 5 ) DEFAULT1 NOT NULL , `memberalttext` varchar( 100 ) NOT NULL , `membersclicks` smallint( 5 ) DEFAULT0 NOT NULL , PRIMARY KEY ( `event` ) ) Messaggio di MySQL: You have an error in your SQL syntax near 'DEFAULT0 NOT NULL , `storecredit` smallint( 5 ) DEFAULT0 NOT NULL , `server' at line 1 Indietro |
ok i did test it...
i will test again and re-post! |
ok re-tested....
in the datadase_changes.txt file there is a space between DEFULT and X above there is no spaces between the DEFULT and the number, give that a try. |
Errore
query SQL : ALTER TABLE user ADD `welcometext` mediumtext NOT NULL , ADD `linkcount` smallint( 6 ) DEFAULT0 NOT NULL Messaggio di MySQL: You have an error in your SQL syntax near 'DEFAULT0 NOT NULL ' at line 1 |
same again there, put a space between the word defult and the number
|
CREATE TABLE `banneradmin` (
`event` smallint(5) unsigned NOT NULL auto_increment, `storehack` SMALLINT(6) DEFAULT 0 NOT NULL, `storecredit` smallint(5) DEFAULT 0 NOT NULL, `serverpath` varchar(100) NOT NULL, `guestsfromserver` smallint(5) DEFAULT 0 NOT NULL, `guestsspecial` smallint(5) DEFAULT 0 NOT NULL, `alttext` varchar(100) NOT NULL, `linktext` varchar(100) NOT NULL NOT NULL, `bannerimg` varchar(100) NOT NULL NOT NULL, `welcometext` mediumtext NOT NULL NOT NULL, `guestclicks` smallint(6) DEFAULT 0 NOT NULL, `membersfromserver` smallint(5) DEFAULT 1 NOT NULL, `membersspecial` smallint(5) DEFAULT 1 NOT NULL, `memberalttext` varchar(100) NOT NULL, `membersclicks` smallint(5) DEFAULT 0 NOT NULL, PRIMARY KEY (`event`)) where ??? |
this works,
CREATE TABLE `banneradmin` ( `event` smallint(5) unsigned NOT NULL auto_increment, `storehack` SMALLINT(6) DEFAULT 0 NOT NULL, `storecredit` smallint(5) DEFAULT 0 NOT NULL, `serverpath` varchar(100) NOT NULL, `guestsfromserver` smallint(5) DEFAULT 0 NOT NULL, `guestsspecial` smallint(5) DEFAULT 0 NOT NULL, `alttext` varchar(100) NOT NULL, `linktext` varchar(100) NOT NULL, `bannerimg` varchar(100) NOT NULL, `welcometext` mediumtext NOT NULL, `guestclicks` smallint(6) DEFAULT 0 NOT NULL, `membersfromserver` smallint(5) DEFAULT 1 NOT NULL, `membersspecial` smallint(5) DEFAULT 1 NOT NULL, `memberalttext` varchar(100) NOT NULL, `membersclicks` smallint(5) DEFAULT 0 NOT NULL, PRIMARY KEY (`event`)) whoever i might ask Lesane if he could do one of his doqury.php adding scripts for me....I am still learning, sorry |
sorry but the second and the third query don't work :( i can't install your hack
|
hmm i re-tested all of them on my server with no faults, I have asked Lesane for assistance. please hang in there
|
Quote:
Errore query SQL : CREATE TABLE `banneradmin` ( `event` smallint( 5 ) unsigned NOT NULL auto_increment, `storehack` SMALLINT( 6 ) DEFAULT0 NOT NULL , `storecredit` smallint( 5 ) DEFAULT0 NOT NULL , `serverpath` varchar( 100 ) NOT NULL , `guestsfromserver` smallint( 5 ) DEFAULT0 NOT NULL , `guestsspecial` smallint( 5 ) DEFAULT0 NOT NULL , `alttext` varchar( 100 ) NOT NULL , `linktext` varchar( 100 ) NOT NULL , `bannerimg` varchar( 100 ) NOT NULL , `welcometext` mediumtext NOT NULL , `guestclicks` smallint( 6 ) DEFAULT0 NOT NULL , `membersfromserver` smallint( 5 ) DEFAULT1 NOT NULL , `membersspecial` smallint( 5 ) DEFAULT1 NOT NULL , `memberalttext` varchar( 100 ) NOT NULL , `membersclicks` smallint( 5 ) DEFAULT0 NOT NULL , PRIMARY KEY ( `event` ) ) Messaggio di MySQL: You have an error in your SQL syntax near 'DEFAULT0 NOT NULL , `storecredit` smallint( 5 ) DEFAULT0 NOT NULL , `server' at line 1 Indietro |
ok, database problem fixed....i have built and tested a php file to do the database changes for you. :)
|
Wow this is awesome :) Excellent hack pal
- miSt |
Thanks miSt,
Have you or are you intending to install it? cos i would realy love to see it on another site. |
There has been lots of downloads for this one.....
Has anyone installed it yet? Need some help? |
wOOt wOOt
great hack! i might install it later |
thanks, let me know if you are having probs installing......however i plan to go to bed soon 3:12am here :(
|
Hello there,
I downloaded the zipped file but it was corrupt so I had to do a fix. However, the linkstous.php inside is either not working properly or I'm missing some files. <LOL> Very nice hack and I look forward to giving it a shot. Please advise on what I might be doing wrong here to get started. Thanks, Ricoche |
Sorry I took so long to get to you.....
File replace and working. Thanks Ricoche Quote:
|
Hello,
First thanks for the file update. I think I installed everything according to instructions, however I'm getting a slight error with my database when adding a banner from the admin panel. The error is as follows: Quote:
Thanks again for a super hack here. Ricoche |
ok im working on it
|
open linkstousadmin.php and replace "start insert" with
PHP Code:
my pc is about to crash and i have to reboot :( |
ok zip file updated.
This hack should install without a problem now... |
Thanks so much for this hack. Yes, the added lines fixed my problem perfectly. Now I'm able to add the additional custom banners and add comments etc.
I'm really impressed with this addon. I think it's a very nice addition to vbulletin and in my case vbportal as well. Ricoche :) |
Found a problem!
at the moment do not alter the registration.php file as instructed, if you have already altered it please restore the file for the moment. I is causing errors when people go to confirm membership during registration. i will get back to you with the new code soon |
Sorr - the File ist corrupt - CRC Error - can you replace it ? (i have cleared my cache ;)
thx ... |
what exactly do you need to replace?
im not sure what you mean by CRC error |
Quote:
I try to download the Hackfile (linkstous_v1.2.zip), but after download it has only a size from 10239 Bytes and all of my Programmes (winace, winrar, winzip says the File is not OK :( |
OK this coding is fine, i just fully tested it again by signing up to my board with and without referals....I got no errors
the reason for the warming post is due to one of my members experienced script error...i since found out it was due to something else i had installed. you can continue to use the register.php alteration :) Quote:
|
interesting...i just downloaded it twice saved and unpacked without a problem
however i did have a similar problem yesterday, this is how i fixed press ctrl - alt - delete at same time check the list of operating software and "end task" on each winzip yesterday i was getting currupt files....even though according to the tool bar at the bottom i did not have a copy of winzip open....there was one in the ctrl - alt - delete list.....caused by software crash |
the download file in the first post is not a valid zip archive.
can you help me here. I'd want to install the hack. Cheers |
ok i have re-attached a new zip file i have also downloaded it unpacked it and works...
please tell me if you are still having problems....better still tell me if it worked :) |
Super.
it works now :) *install* |
OK. i am back :)
Works very fine without any problems .... but ..... .. in the Welcomepage , all members can use html code and vbcode isn?t possible? - can you change it? I think it is a security hole when users can use own html code on the board :confused: |
All times are GMT. The time now is 04:16 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:
|