![]() |
In the origional index.php in your forums directory copy the code from line 138-211 (thats the lines the code were for an unhacked file at the time the hack was made).
Line 138 should have the following code on it: PHP Code:
PHP Code:
|
and what do i do with the copied info?
|
hmm.. i don't know how to write these instructions more clear.. then they are now.
decoder, put the copied code into the new index.php (the vbindex one) where it says in the install instructions. (replace the commented text "// add here the vBulletin code of the original index.php"). :bunny: :) |
How do you add it to a template set?
|
How would I go about installing the templates? Add a new Set? or just add them to the default list as .. "home_buddy1"... etc... after that, what files would go in my root directory? (ex. www.microsoft.com)
|
Quote:
Your need to place the files within your forums directory, so http://www.domain.com/forum for example. |
In the news bits is there anyway to limit the number of charactors displayed? ie just add dots after a certain number of charactors then perhaps a link to the news forum and actual story?
|
I read through a bunch of the posts in this thread and noticed that some users had problems with the icons not showing up correctly in for the News items on index.php (vbIndex).
I had the same problem. I downloaded the hack (v1.3) a couple days ago and am just installing it. I don't think the newsbit template has been updated with the proper code in the ZIP file. newsbit template that comes with vbIndex 1.3 contains: PHP Code:
PHP Code:
|
I noticed that whenever I use home.php, my records (Most users ever online and most users ever online on a day) are reset to show only the number for that same day. Is there any way to change this?
Thanks! Paulo |
If you read the thread you will find the fix I posted a few pages back ;)
|
:dead:
Shame on me for not finding it! :) Anyway, I'd like to thank both el3m3nt and NTLDR for all of their great support on this hack. I have finally ported all of my website to vBulletin and I'm using vbIndex to drive the main page. It is now finally online. In case you want to check it out: All Pink Floyd Fan Network. Thanks again for everything, guys! Paulo |
Nice hack el3m3nt. :)
I'm currently working on totally redesigning my site to incorporate the features of vBulletin into it more. At first I was going to use vBhome, but I think I may switch to this one instead. The one thing that I can not seem to figure out (and does not seem to be in either of these hacks) is how to display a users avatar with the rest of their information. I've tried to figure this out myself, but I'm not that good with php code yet. If anyone could help me with this it would be much appreciated. |
Quote:
|
Quote:
|
Hi NTLDR,
I just checked out your site again and that is exactly what I am trying to do. If you could tell me what code needs to be placed in the vBindex page I would appreciate it. I'm not exactly sure of the rules about posting code from vBulletin on here, so if it would be better you could just PM or email me. Thanks for the help! :) |
I just noticed that guest users see the poll in the main page but are not able to vote on it. It says "User already voted", even though I set the poll forums permissions to allow guests to vote.
Any way to change this? Thanks! Paulo |
Quote:
PHP Code:
PHP Code:
You need to add: Code:
$avatarimage |
Quote:
|
Quote:
|
I have tried to install this hack, but can't find the relevant bit of the original index.php file :(
Instructions say find this: PHP Code:
Anyone got any ideas? |
Quote:
PHP Code:
PHP Code:
I would suggest that you upgrade to 2.2.6 if you can and remove many security expolits on your board. |
Thanks for the help NTLDR. It worked great except you forgot to end the link on this line
$avatarimage='<a href="member.php?s='.$session[sessionhash].'&action=editavatar"><img src="'.$avatarurl.'" border="0">'; It worked fine after I added </A> though. :) |
I installed it (with the links mod) and here it is: http://www.thrill-seekers.net/forums/home.php
Now how do I use it in http://www.thrill-seekers.net/index.php , leaving the forums index at http://www.thrill-seekers.net/forums/index.php e.g. rename home.php to index.php and have in in my root directory, not the vb directory? Also, I believe that this is v 1.2, how do I upgrade to 1.3? Also, when im logged out, the page is blank! |
*Fixed*
|
Hi NTLDR
I have activated the rightblock, now I want, when user click on a button instead of open a new page I like it to appear in the center exact like u have on u r vBindex (with left and right blocks still there) :) once u told me something like this "home.php?s=&mypage_blahblah" but I cant remeber :( |
Hi -=dm=- the info is somewhere in this thread, but its quicker to repost then to find it ;)
You need to replace: (should be near the end of the file) PHP Code:
PHP Code:
PHP Code:
Code:
x.php?s=$session[sessionhash]&page=template_name x.php is the name of the vbindex.php file; $session[sessionhash] is the users sessionhash where required, should be used in all links; and template_name is the name of the template you wish to be displayed. To create new pages just make a copy of your home template and change the main content. If no page is specified in the url then the home template is loaded. |
I don't know where the discussion is exactly but, I would like to show off my programming site now :p
A sneak peek at whats to come.. http://www.flohost.com/~guruxl/index.php |
i just realized something...
All you really did was take the "Pages Via Template" Hack, add a few variables and things from other hacks, and viola, this hack... |
Quote:
i did that and it works .. but there is always a but .. its images .. they are not showing since all ther refrence is for /images not vbb/images ... I do not want to manually enter that since it i am using many styles. Any ideas on how to correct that and get the correct path for {imagesfolder}? |
Hi NTLDR thanx :)
this was exact what I was looking for. now is it possible to see which page user are on, on "who is online"? |
Quote:
|
Quote:
If you have added the templates to only one style set, then the one solutuion is to add a new replacement variable called {forumimages} for example and set that as forum/images and replace { images folder } (minius the space before each {}) in the templates to {forumimages} The second option, change the path of the images to the full URL so http://www.site.com/forum/images instead of just /images |
Quote:
|
HI NTLDR ..
You are awsome. Your answer solved alot more than my question above. Thanks alot NTLDR. |
As requested by -=dm=- is the addon for my multi-paged vBindex addon. It allows you to have a location for different pages within vBindex based on the url.
Install Instructions: ------------------------ ------------------------ Open online.php Find: PHP Code:
PHP Code:
PLACE1 and PLACE2 with the name of the template for the page that is shown in the url: [code]http://forums.site.com/vbindex.php?s=&page=PLACE1[code] Description 1 And 2: Replace with the description of the page. Next still in online.php Find: [php] case 'online.php': $userinfo[activity] = 'online'; break;[/php And Add After It: PHP Code:
Thats all that is all that is required to add the locations, the following is extra info on adding more than two extra vBindex pages to Who's Online. Adding extra places: in order to add more places in Who's Online you need to add a few extra lines to the above blocks of code: In the first block you need to add: PHP Code:
PHP Code:
In the second block you need to remove the last { (the one directly before break; and add the code: PHP Code:
|
Quote:
|
i have a small question....
can i use it on vb2.2.6?? |
Quote:
|
Having slight problem with vbindex...
Installed Hack per Instructions. Works great... Problem I am having is now on my main forum page, my: Most users ever Online area. The value changes as people logoff. The date also changes as well as the time... Everything else working fine. I names the vbindex page index.php and also the Main index for the vbb Forum 2.2.6 is home.php... Also, my counter in the vbindex page for Posts Today starts out at 74 and goes DOWN as Members make post... Help... |
Quote:
|
All times are GMT. The time now is 10:51 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|