![]() |
This is to answer Rgsamtani's question (posted in another thread) about having different styles for each different page.
You would just want to open your myvbindex.php file and look for: PHP Code:
PHP Code:
|
On the forums index page it shows the highlights, on myvbindex it does not. All I have done was to enable the moderators to see invisable users, could this have caused that?
GB |
Was this the hack you used to allow mods to see invisible users? I didn't see anything in the code for that hack that could affect anything... Did you double check that your moderator usergroup still has an id of 5?
|
Keep up the superb work Tigga. I'm just about to go for the 3.1 > 3.2.1 upgrade :).
|
I'm getting this error on an install of myVBindex. Just to make sure I didnt do anything stupid I reinstalled both twice and still am getting it.
Database error in vBulletin 2.3.0: Invalid SQL: UPDATE template SET template='1 1053539119' WHERE title=maxloggedin mysql error: Unknown column 'maxloggedin' in 'where clause' mysql error number: 1054 Yet I know there is a maxloggedin template as I had to add it manually. |
I commented out the offending line
$DB_site->query("UPDATE template SET template='$maxloggedin' WHERE title=maxloggedin"); and it works. could this be a bug in 3.2.1 myVbindex? |
Yep, I'm not sure how that got changed, but it should read:
WHERE title='maxloggedin'"); That's the code that will update the maximum number of online users if a new record is set. I'm not sure how it got changed though as it was correct in v3.2 and prior... Either way if you'll just add the ' marks around maxlogged in it should fix the problem, and I've also updated the zip file in the first post. :) |
Thanks, made that change and it works fine. :banana:
|
Tigga - this might be a bug (or is on my at least). I upgraded from 3.1 to 3.2.1 today and seemed to work fine. However I notice that with news posts you can create them by using 'New Thread' and even 'Post Reply' to one that's been created, but you can't edit the thread. You just get the usual vB response:
Quote:
http://myserver/forum/newreply.php?s=&action=newreply&threadid=2427 which is what I expect, however the problem with 'Edit' is because the links aren't complete. This is what I get if I hover over the 'Edit' link: http://mysever/forum/editpost.php?s=&action=editpost&postid= Its completely missing the actual post id. Any ideas? |
Wow, you're just finding all kinds of little bugs Intex. :p
Apparently I forgot to remove a small piece of code in the news query when I was trying to figure out a way to make it work without having to edit the newthread.php file and adding a column to the post table. It doesn't quite make sense why it would affect it, but I guess it does. Anyways, to fix it just open your myvbindex.php file and look for: MIN(postid) Replace that with: postid That should fix the problem. I've got to run somewhere for a couple of hours but I'll update the zip file right after I get back. Thanks for pointing that out and hopefully that'll be the last bug you find. :) |
All times are GMT. The time now is 01:42 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:
|