Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin 3 Articles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Installing Hacks.
UltimateOreo!
Join Date: Nov 2006
Posts: 462

 

Missouri
Show Printable Version Email this Page Subscription
UltimateOreo! UltimateOreo! is offline 06-12-2007, 10:00 PM

Welcome VB Noobie! Welcome to the wonderful world of vbulletin.org.

Modifying a Vbulletin powered discussion board is very easy because of their easy template system and powerful product system. Every modification you come across will either have you upload a file, import a product, perform an SQL Query, or alter an existing template, or make a new one.

1- Templates

The template system creates the frontend, where a php file determines what action is performed. Don't criticize me on this one, as there are exceptions to everything.

You want to start off by going to your Admin Control Panel (commonly referred to as the ACP), there should be a link at the bottom of your forums.



Now, once you have logged in, take a peek at the left side of the ACP. There should be a little box near the top that says "Styles & Templates" Click the arrow on that box to expand it. Once it is expanded, click "Style Manager". Right now, it should look a something similar to this:



Right now, we are going to be working on editing a template that is already in the template system. Click "Edit Templates". To make it easy on ourselves, we are going to take a look at every template instead of just template groups. To do this, click the button highlighted in this image:



Once it is expanded, you should see many more templates. Now, say installation instructions want you to go to the navbar template. The great thing about the template system is that it is alphabetical. Go to the N's section, and look for navbar. Double click the template, and take a peek for the search function. It will be right under the actual template. If your instructions don't need any searching, for example, they just want you to add something to the top, do that. If you need to search, copy and paste what they said and paste it into the search box. Once it is pasted and searched, it should highlight the text. Lets say, I need to find the following code:
Code:
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
Now don't worry, you don't need to know what that means just to install the hack . Anyway, this is what it should look like once it is searched and found.



Now, if you cannot find the text they asked for, simply ask for help here. If you do find it, follow any instructions they may have.
-Adding a new template-
This is very easy, just look at the Second image, and click "Add New Template" and follow the hack authors instructions.

2-Importing A Product

Simply go to your ACP (Admin Control Panel) by clicking this link on your forumhome-



Look on the left side of the page and look for a little box that says "Plugins & Products". Click the arrow that is contained inside the box and it should expand. Click "Manage Products". If you look at the bottom of the page, click [Add/Import Product]. If there is a little warning on the top of the screen like this:



Click the link on the warning that says:
enable the plugin system. Once it takes you to the new page, click the "Yes" Button and then save. Go back to your product manager page, and you shouldn't have the error. Click [Add/Import Product], and it should take you to a screen that looks like this. Also, the picture will show you how to upload the product to your server.



That is how you Import a product, it's as easy as that!

3-Uploading Files

Sorry everyone, no pictures for this one, seeing as everyones FTP program differs! Although, if you installed vbulletin, you should be pretty familiar to how your FTP program works. If an author asks you to upload the files to your ROOT or the / directory, that is where you first see all of the vbulletin files. Authors usually make the files already corrospond to the correct folders, but if they don't, they will give you instructions on which folders to upload to. If the default folder that your forum is in is already the root, or /folder of your hosting, and the author's hacks are in /forums/whatever, just upload whatever is in the /whatever directory of the folder you downloaded. Also, some hacks require CHMODDING. This is usually done by right clicking the file or folder, clicking CHMOD or permissions. They will give you instructions on what you should do from there.

4-Executing an SQL Query

WARNING: These CAN damage your database! Use them with caution, and try to get a second word to ask if they are safe from someone with experiance! There are some people out there who will do this just for fun!

Installation:
Simply go to your ACP (Admin Control Panel) by clicking this link on your forumhome-



Scroll down a tad and the last box you see should be called "Maintenence". Click the arrow that is in the box, and it should expand. Click "Execute SQL Query". If you get an error that looks like this:



You have to enter your UserID in the config.php file. It will usually be 1. If you don't get an error, all you have to do is copy and paste the text that the author says the query is into the "Manual Query" text box and click continue at the bottom. It will go to another page, but just click continue again. Sucsess! You just executed an SQL Query! If you get another error, it is usually a problem with the query, and you need further support from someone with experience.

Well, there you have it! You can basically install any hack on vbulletin.org! Of course, this is just the start and you have to pick some of the stuff up on your own, but I definately hope this helps you on the way of becoming a better vbulletin administrator!

Thanks for the cleanup Princeton!
Reply With Quote
  #2  
Old 07-08-2007, 02:46 PM
wesg2006 wesg2006 is offline
 
Join Date: Jul 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent!! Just what I needed to get started! Thanks
Reply With Quote
  #3  
Old 07-08-2007, 02:49 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice article
Reply With Quote
  #4  
Old 06-11-2008, 09:25 AM
gamma626 gamma626 is offline
 
Join Date: May 2008
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool! Thanks a lot, just what I needed.
Reply With Quote
  #5  
Old 06-11-2008, 02:07 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This should save a lot of time for all NEW vBulletin users -- thanks for sharing.
Reply With Quote
  #6  
Old 06-11-2008, 05:10 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should have split them up into separate posts but good tutorial nonetheless
Reply With Quote
  #7  
Old 06-13-2008, 01:08 AM
wrestlesomnia's Avatar
wrestlesomnia wrestlesomnia is offline
 
Join Date: Jul 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very well elaborated though I did tough it out a year ago to learn on how to install hacks
Reply With Quote
  #8  
Old 06-15-2008, 09:12 AM
Smell Smell is offline
 
Join Date: Feb 2008
Location: Los Almyros Greece
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent!!!!!!!!!!!!!!!!!!!!
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 04:58 AM.


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.07194 seconds
  • Memory Usage 2,266KB
  • Queries Executed 21 (?)
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
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete