![]() |
Quote:
Mike |
Quote:
Though I haven't sucessfully installed this hack yet, I would probably check the index.php that you uploaded from this hack. Did you change the variables in the first few lines to match up with the forum id numbers? Quote:
I would check that first. Mike |
Aha...Thanks, Mike! I think that should do the trick!
Best regards, H.Kim |
Quote:
Aha....I figured it out finally. My cookies were messing with it because I used differant styles and didn't add all the new templates to the style that I was using. I just added them to the default template, not the templates for the style that I had chosen to view my board in. Okay.....works now....time to hack it up and add my own stuff. Mike |
Dear NTLDR/Lee,
Thanks for the info. With risk of sounding somewhat lame, could you please give me some more specific information on how to implement this? E.g. 1. Do I have to rename the index.php to vbindex.php? 2. The new pages, do I create them within the vbulletin control panel? 3. How can a new template page look like? What do I have to include? Specific example would be great. Best regards, Quote:
|
Well, it was a stupid request when you gave so clear information at the first place. I found it out by myself after a few minutes.
Thanks anyway! :p |
Quote:
No problem hkim, if you run into problems let me know, I wouldn't say your question was lame, everyone has different abilities here and I'm quite happy to help anyone who has any problems with anything I've produced. I hope everything works fine when you impliment the changes. |
Nice work here, this is what I was looking for and it work really great! I'Ve first setup vbhome light but this one fits my needs a lot more as I'm not a programmer and vbhome is almost impossible for me to custumize the way I want.
Got 2 more things I need to ask: 1- Is there a way to use the usergroups permissions of the forum for the threads display? 2- Is is complicated to add a block with the latest 5 thread titles of a specific forum ? (with links to the thread) Hope those 2 requests will not be too complicated to do... Thanks a lot! |
1- you mean the threads display of the latest threads? in v1.3 of vbindex you can only see these threads on the index-site which you have permission to see.
2- nope, no problem :). add anywhere in the index-file (but before the output of the home-template)! PHP Code:
|
Thanks a lot, I think something must be messed up then because threads of private forums are seen by everyone in the latest threads column. Not the threads themselves but the titles and it can reveal some sensitive content so...
Where should I look to try finxing this out? BTW thanks a lot for your fast response, very kind from you ;) For the code above, I've tried it without success. I forget something maybe? Code:
$forumid=6; Grrr, I'm not a coder sorry! lol |
One more thing, maybe I'll look a bit newbie wit all those questions but as I say I'm not a programmer! I don't find how to enable the right block, any tips for this?
Thanks! ;) |
In the template home look for a line similar to:
Code:
<!-- $right --> Code:
$right Don't worry about feeling like a newbie if you do, we all had (have) to start somewhere :D |
Good, thanks a lot ;)
|
Some more newbie question:
1. In the lef/right block, there is a link to "My Notepad". What is this? In my default installation of vBulletin 2.2.5 it seems not to be existing? Best regards, Quote:
|
You can get it here, this is a hack called vbpad, this allow your users to keep some personal notes in their CP.
|
Another one: after installing vBindex, when selecting Forum home in the Forum Jump, I'm redirected to the first page. However, I would like this selection to redirect to a list of available forums instead. How do I do this?
|
Quote:
If this is then if you wish to leave the file names like this then I belive you either have to modify functions.php or set the $bburl in the options to point to url/forums.php where forums.php is the forums home page. I could be wrong as I haven't tried it! |
From what I can see, your site is working in a manner that I would like, e.g. when choosing "forum home" from the Forum jump menu, the user is redirected to the forum list page. Did you do some additional tweaking?
What I did when I installed the vBindex, was that I renamed the original index.php to home.php. After copying the necessary code from the original index.php to vBindex index.php, I then upload it to the vB folder on my site. I have also added your modification for multiple vBindex pages. What should I do? Best regards, |
I think I got it....I should problably change the variable in forumdisplay.php?
// jump from forumjump $goto = ''; switch($forumid) { case 'home': $goto = 'index'; break; to // jump from forumjump $goto = ''; switch($forumid) { case 'home': $goto = 'home'; break; |
Hi el3m3nt
Im back :D I have litle problem with the vBindex:( its the left block, I dont understand ? New posts [ 22 ] this should be 17 ? Posts today [ 17 this should be 22 this is strange I didnt change the original code. can you please help me? |
Quote:
|
Well it seems to work after I made the change. For me it seems to be logical to point the jump string to home, since the forum listing declared by vbulletin index is name home.php now...but here is how my files are organized:
vbulletin index.php --> vbulletin/home.php vbindex index.php --> vbulletin/index.php If you got time, I got another question as well: How do I use the home-templates in for example the default template for forum display? Do I have to define $templatesused in the beginning of forumdisplay.php? |
It was just a guess based on the snipit of text :D
To use say home_left in the forum listing you would need to make sure that the templates were defined. I'm not 100% sure what screen you wanted it on, if u wanted it on the forums home (the origional index.php) and in the Forum display (forumdisplay.php) then you need to define it in global.php Which specific screen(s) did u want it on? Either a screenshot or the name of the .php file that appears in the browser would be best :D |
Quote:
$threadtitle $threadtitle $threadtitle $threadtitle $threadtitle Is there something I do wrong or soething is missing? Any idea anyone? Thanks! |
Quote:
|
jap i noticed that :).
the following counts the posts (of the new posts and the posts in the last 24 hours) Code:
$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM post WHERE dateline>'$bbuserinfo[lastvisit]'"); Code:
$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM thread WHERE dateline>'$bbuserinfo[lastvisit]'"); Code:
$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM thread WHERE lastpost>'$bbuserinfo[lastvisit]'"); |
Where should i go to translate this menu?
I didn't find any template.. Tnx |
template 'home_logout'
|
Still searching to solve this problem, any help please? :confused:
Quote:
|
I haven't read through this whole thread so maybe my problem with this has been solved already.
But here we go. I installed this hack and am testing it out, and the problem that I run into is that it changes my database for the "most users ever online". Every time I mess with the hack it resets mysql table back to the amount that was online today only. Is there anyway I can go back and revert, or should I just dump the table and insert a new one. Does this hack change that table in anyway? Mike I hope this makes sense. |
Had this issue too, but I don't know how to fix it so I've removed the max users display...
|
Yeah i have the same thing with the most users every online, i would love to know how to fix/repair this. Thanks
|
ehm.. i'm not sure.. and i didnt test it..
just delete this part... Code:
if ((int)$maxusers[0] <= $totalonline) { |
ok thanks, i`ll give it a shot ;)
|
Hmmm...something is awry...the fix didn't work for me.
This is what happens, I have the php file loaded up for test purposes until I figure all of it out. It is named newindex.php just for ease of use (I haven't really messed with it since installing it). If I go to my forum the number "Most users ever online" works and functions like it should. If I pull up the newindex.php it resets the "most users ever online" back to one (or however many are online at that time). I don't click anything it just changes on the load. I followed the instructions you left above but it didn't seem to cure it. Any other suggestions? Mike |
Well I've modded my file to see how it goes, I'll yet everyone know if it works, this is one thing that has really bugged me since installing vBindex :D
|
Quote:
|
I also removed the code but it didn`t work for me either
|
Quote:
|
OK, I have removed the folloing code from the file and at the moment it seems to be working correctly.
Either remove (or comment out each line with // ): PHP Code:
Code:
<a href="online.php?s=$session[sessionhash]">Online Today</a>: <b>$todayonline</b><br> Let me know if this works for you, it seems to for me at the moment :D |
All times are GMT. The time now is 11:52 AM. |
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:
|