The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
LinkMe Hack Details »» | |||||||||||||||||||||||||
OR How-To-Link-us in a nutshell I have created a PHP file and one template which creates a new page in the look and feel of your domain. This file searches the directory ./images/banners/ and creates for each file which is found there an image and the appropriate source code in html. This source code can be copied via double click into the clipboard. The aim of this mini-hack would be, to make it easier for your members to link your homepage/domain. In addition it will make your life easier because every graphic that you copy into /images/banners will automatically be translated into your LinkMe page. Once installed you just add more banners and graphics and you do not have to care any more about any HTML code. :devious: Installation instructions are in the zip file. Install time estimated: 2 mins I will only give support if you click on the install button on the right upper corner or you click on this INSTALL link. If you want to see it live in action please visit: Example But it is in german. :nervous: Update: Changes for functions_online.php implemented into the ZIP file and posted below. Cheers, Supporters / CoAuthors Show Your Support
|
Comments |
#22
|
||||
|
||||
Thx for this nice hack.
I have a question wich is not directly regarding your hack but maybe someone can help me anyway. I have a hack wich shows "unknown location" in user online and I tried to edit functions_online.php The second option is clear but how is the the first "case" determant? case 'LinkMe': (the LinkMe) It cant be define('THIS_SCRIPT','....'); cause you have "chat" entered in the LinkMe.php (should be fixed ) I realy can?t figure that out. Can anyone help? StarBuG |
#23
|
||||
|
||||
Quote:
you talk about this section in the php file: PHP Code:
PHP Code:
|
#24
|
||||
|
||||
Quote:
But ok. With the next update i will change the header in the PHP file from: PHP Code:
PHP Code:
It is very easy to define unknown locations. You have to create 2 entries. One entry like this: PHP Code:
PHP Code:
Cheers, |
#25
|
||||
|
||||
Quote:
I know where I should place this but I need to know where: case 'LinkMe': the 'LinkMe' is taken from. Hope you know what I mean Ah and one more thing to fixe: In LinkMe.php find: PHP Code:
PHP Code:
StarBuG |
#26
|
||||
|
||||
Quote:
Hi, the location is the key. In this line you define what should happen: PHP Code:
And thanks for the hint ( it is not a fix ) but it works as it is. Or it doesn't ? Cheers, |
#27
|
||||
|
||||
I have tried that
the file is called: vb_jukebox.php i have in functions_online.php case 'Jukebox': $userinfo['action'] = 'vB Jukebox'; $userinfo['where'] = "<a href=\"vb_jukebox.php\">$vboptions[bbtitle] vB Jukebox</a>"; break; case 'vb_jukebox.php': $userinfo['activity'] = 'vB Jukebox'; break; But it still shows unknown location (I added it below your LinkMe code) Any idea? And without my "fix" you don?t have a location in the navbar Greetings StarBuG |
#28
|
||||
|
||||
Quote:
And thanks for the navbar hint. I will build this into the next version. Cheers, |
#29
|
||||
|
||||
Quote:
here: case 'LinkMe': $userinfo['action'] = 'LinkMe'; $userinfo['where'] = "<a href=\"LinkMe.php\">$vboptions[bbtitle] LinkMe</a>"; break; case 'Jukebox': $userinfo['action'] = 'vB Jukebox'; $userinfo['where'] = "<a href=\"vb_jukebox.php\">$vboptions[bbtitle] vB Jukebox</a>"; break; default: if ($permissions['wolpermissions'] & CANWHOSONLINEBAD) AND: case 'LinkMe.php': $userinfo['activity'] = 'LinkMe'; break; case 'vb_jukebox.php': $userinfo['activity'] = 'vB Jukebox'; break; default: $userinfo['activity'] = 'unknown'; } Can it be that there is something that needs to be in the file vb_jukebox.php too to work? Star |
#30
|
||||
|
||||
Quote:
So it is either the globaltemplate or the include of the global.php. I did nothing else. Cheers, |
#31
|
||||
|
||||
YES
I solved it!!! hehe The second entry $userinfo['activity'] = 'Jukebox'; determens the location- The first entry handles the display in the useronline view where case 'Jukebox': is definded by "activity" Just in case anyone wants to know Thx for the quick help and for this nice hack If you want to have some suggestions to improve your hack: It would be good to be able to define folders outside of the forum cause I store my banners outside the forum and like it is now I have to update both folders when I add banners Greetings StarBuG |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|