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

Reply
 
Thread Tools
Details »»

Version: , by veedee veedee is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 09-06-2001 Last Update: Never Installs: 0
 
No support by the author.

This has to be the smallest hack I have seen. It adds no functionality to your forum.

So what is it doing in here? you might ask ?

Well the idea of the hack is that when you install a hack to your forums, you click the link in your admin area which takes you to a reply screen for a thread I have started in "Chit Chat"

This enables people to see what hacks are being added at the current time and also to see how hard people found the install.

1. So in your admin directory, find and make a copy of index.php
2. Download this index page and open it up in your text editor.
3. Find the following line:

PHP Code:
    <TD nowrap><B><a href="../index.php?s=<?php echo $session[sessionhash]; ?>"
      target="_blank">Go to your Forums Home Page</A></B> </TD>
4. Above this code, add this line

PHP Code:
    <TD nowrap><a href="http://www.vbulletin.com/forum/showthread.php?&threadid=27565" target="_blank">Click here if you have added a hack</a><TD


Your admin area should look like this:




Great, all set. I would love to see if people make use of this, quite a lot of 'shy' and unexperianced coders thought this was a good idea for a confidence booster

Please note: I have modified these instructions to remove the problem regarding license numbers that is discussed in this thread.
JamesUS, vBulletin Moderator + Donut Muncher

Show Your Support

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

Comments
  #2  
Old 09-07-2001, 12:56 PM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you do realise you just posted your vbulletin member number?

echo $versionnumber.doformiddle("removed");

this is unique to each copy of vBulletin as I had a different one from which you posted.
Reply With Quote
  #3  
Old 09-07-2001, 01:28 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You do realise it doesn't matter?

As long as you don't have the password, you can't do anything with that number.
Reply With Quote
  #4  
Old 09-07-2001, 02:52 PM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah, but its still not good practice to reveal that kind of information. Also the fact that some people might find that hack hard to install as the instructions differ from board to board.

Also what happens if the user is not registered on vBulletin, they get the please login msg.
Reply With Quote
  #5  
Old 09-07-2001, 03:25 PM
JamesUS's Avatar
JamesUS JamesUS is offline
 
Join Date: Oct 2001
Posts: 347
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm going to modify the instructions slightly so that this is no longer an issue.
We don't want numbers revealed, nor do we want people to have to insert theirs when they install the hack (as most people won't bother).
Reply With Quote
  #6  
Old 09-07-2001, 03:33 PM
BradC
Guest
 
Posts: n/a
Default

Great thinking James.... just to be on the safe side
Reply With Quote
  #7  
Old 09-07-2001, 03:51 PM
veedee veedee is offline
 
Join Date: Oct 2001
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool cheers - you may think this 'hack' is tacky (which it is) but when I first got vBulletin I was afraid of messing with the code as I thought it was only for pros, which it isnt

Thanks for modifying the code for me Jimbo !
Reply With Quote
  #8  
Old 09-07-2001, 05:31 PM
JamesUS's Avatar
JamesUS JamesUS is offline
 
Join Date: Oct 2001
Posts: 347
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by veedee
Cool cheers - you may think this 'hack' is tacky (which it is) but when I first got vBulletin I was afraid of messing with the code as I thought it was only for pros, which it isnt

Thanks for modifying the code for me Jimbo !
Not a problem I didn't really modify the code, just the instructions.
Reply With Quote
  #9  
Old 09-08-2001, 06:12 PM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why not something more useful, like something that you can click to say which hacks you've added, what files they modified, and what the modifications were, and these were stored in the database so when upgrading it would make things easier?
Reply With Quote
  #10  
Old 09-08-2001, 10:05 PM
BradC
Guest
 
Posts: n/a
Default

I am slowly working on something for me to keep track of stuff that I modify.. somewhat like this.

I have it where it is kept in another table that I just use a easy submit form.. with text boxes for me to fill in. lol

like Hack Name, Last Modified, Creator, Files Modified, Templates Modified, New Files, New Templates.

and I just fill in the rest.. and go from there.

It helps, so I don't accidently forgot to upgrade or intergrate some code.. like from a file I might have just put one line of code in or changed just some letter around.

I just use it in my admin panel, and I print it out when it comes time to updating
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 09:08 PM.


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.04217 seconds
  • Memory Usage 2,291KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_php
  • (1)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (8)postbit_onlinestatus
  • (10)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