Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
LinkMe Hack Details »»
LinkMe Hack
Version: 1.00, by Pseudomizer Pseudomizer is offline
Developer Last Online: Feb 2010 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 04-30-2004 Last Update: 05-03-2004 Installs: 151
 
No support by the author.

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

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

Comments
  #32  
Old 05-09-2004, 07:48 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by StarBuG
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
Glad you found it.

And for the directory:

You change it to whatever diretory you want in ( total path if you wish):
PHP Code:
    $direktory "./images/banners"
And you can also change the URL to the pictures in(also other URLs):
PHP Code:
<IMG SRC=\"$vboptions[bburl]/images/banners/".$file
But 95% of the people have their banners in the same domain and in the same webroot. You can change it. It will work.

Cheers,
Reply With Quote
  #33  
Old 05-09-2004, 07:52 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pseudomizer
Glad you found it.

And for the directory:

You change it to whatever diretory you want in ( total path if you wish):
PHP Code:
    $direktory "./images/banners"
And you can also change the URL to the pictures in(also other URLs):
PHP Code:
<IMG SRC=\"$vboptions[bburl]/images/banners/".$file
But 95% of the people have their banners in the same domain and in the same webroot. You can change it. It will work.

Cheers,
I tried to replace the directorys but I got page not found or a blank page.

I replaced the url in the link so the users wich copy the code use our right banner directory but the automated display in linkme.php of the images does not work.
Only the header is generated.

But never mind it is not that important

StarBuG

ps: I wanted this because my forum is not the center of my project. You can have a look if you want (see my sig)
Reply With Quote
  #34  
Old 05-10-2004, 05:16 AM
Kwak Kwak is offline
 
Join Date: Sep 2003
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the support Pseudomizer. :up:
Reply With Quote
  #35  
Old 05-10-2004, 11:00 AM
pie pie is offline
 
Join Date: May 2003
Location: Devon, England
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

May i reccomend something....

PHP Code:
 if ($file == "." || $file == ".." || $file == "index.htm" || $file == "CVS") {
} else { 
Change to this
PHP Code:
 if ($file != "." || $file != ".." || $file != "index.htm" || $file != "CVS") {
$bild "./images/banners/$file";
$info getimagesize($bild);
$id filesize($bild);
.......
.......

ALSO

Why am i getting a blank page? Really wierd.
Reply With Quote
  #36  
Old 05-11-2004, 01:20 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pie
May i reccomend something....

PHP Code:
 if ($file == "." || $file == ".." || $file == "index.htm" || $file == "CVS") {
} else { 
Change to this
PHP Code:
 if ($file != "." || $file != ".." || $file != "index.htm" || $file != "CVS") {
$bild "./images/banners/$file";
$info getimagesize($bild);
$id filesize($bild);
.......
.......

ALSO

Why am i getting a blank page? Really wierd.
Hi,

can you tell me why you are suggesting this please ? I would like to know your intention for this change.

And the reason for getting a blank page is 99% not having the template in the correct style implemented.

Cheers,
Reply With Quote
  #37  
Old 05-11-2004, 03:42 PM
pie pie is offline
 
Join Date: May 2003
Location: Devon, England
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was just cleaning up your code....
[php]if ($file == "." || $file == ".." || $file == "index.htm" || $file == "CVS") {
} else {[php] Means.... IF $file = any of those.... { } do nothing.

I simply did IF ($file != those... then do .

As said, just cleaning your code up
Reply With Quote
  #38  
Old 05-11-2004, 07:42 PM
JagFan JagFan is offline
 
Join Date: Jul 2002
Location: Arizona
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed..works great...thanks!!
Reply With Quote
  #39  
Old 05-13-2004, 10:53 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea!
Reply With Quote
  #40  
Old 05-14-2004, 01:34 AM
paratek's Avatar
paratek paratek is offline
 
Join Date: Feb 2003
Location: New York
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack!..thanks for this one
Clicks the install
Reply With Quote
  #41  
Old 05-16-2004, 12:44 AM
Jimmy D. Giles Jimmy D. Giles is offline
 
Join Date: May 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SmartGnome
@Pseudomizer

Great hack, thanks. This was exactly what we were looking for :banana:

Install is clicked and install was piece a cake
Where did that dancing banana come from? Funny, very funny.
Reply With Quote
Reply


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 11:45 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
  • Page Generation 0.05156 seconds
  • Memory Usage 2,333KB
  • 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
  • (8)bbcode_php
  • (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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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