vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   mYvBindex v3.1 (https://vborg.vbsupport.ru/showthread.php?t=44691)

Tigga 05-17-2003 01:47 PM

Angelus - I'm sorry, but I'm having a hard time making out what you're trying to say. I'm guessing you're having some kind of a problem with the poll section and users logging in? If you could try to explain the problem again and possibly post a link to your website here I'll try to help.

Cygnus 05-19-2003 01:55 AM

and I read as much of the thread as I could before posting...

I can no longer log out from the boards. I have messed with the options in my profile but nothing is working.

No one else can log out, either.

Help?

Cygnus 05-19-2003 03:33 AM

Nope... resolved it by going with one dot on the cookie:

survivoraddicts.com

I have myvbindex.php on a master domain and the boards on a subdomain.

Works flawlessly and looks great! Very nice work!

http://www.survivoraddicts.com/

Cygnus 05-19-2003 03:37 AM

One small issue and maybe a setting that I am overlooking will do the trick.

I am not logged in and there is a thread that is happening in our Moderator's Forum which I would rather not show up on the "Latest Forum Topics" on myvbindex.php. Is there some way to exclude certain boards from showing up there? (When I click on the link it doesn't allow me to see it but I would rather exclude the entire board if I can.)

Any way to do this?

Tigga 05-19-2003 05:18 AM

Check that your forum permissions are set correctly, and double check that the "Use custom settings" radio button is selected at the top (that seems to be something that's very often overlooked). As long as all the permissions are set correctly it will only pull threads the user has permission to see.

Cygnus 05-19-2003 06:37 AM

That seems to have done the trick!

Great hack, man. Way up there... with the Arcade. Well done!

Littlebit 05-19-2003 05:23 PM

Oddly enough, I'm havng a bit of trouble logging out and am having it mentioned to me by a few users now too. I've done so many changes though and can't pinpoint why. I've also added PhotoPost and intergrated it with vB...could something be messing up my cookie stuff with MyvBindex? If I log out via vB's index and then go to myvbindex...it has me still logged in.
Tigga, could you lend me a hand with it? I'm stumped with what happened.
Everything is only on one domain for me.

Tigga 05-19-2003 05:31 PM

Hrmmm... What do you have set for your "Cookie Domain" and "Path to save cookies" options and/or what have you tried setting those to? I'm assuming you've tried clearing your cookies as well, right?

Littlebit 05-19-2003 06:07 PM

I have domain at: .mysite.com
path: /
I now think it's having to do with the damn PhotoPost intergration. I cleared all cookies and logged in and out fine...until I visited the photo gallery...it's like it's placing a separate set of cookies or something weird. I guess I should visit their forums and try to figure this out.

Tigga 05-19-2003 06:40 PM

If you can log in from the forums and index page fine then it would definitely be a problem with PhotoPost. I vaguely remember having some kind of problem like that when I used PhotoPost, but I've written my own photo gallery since then and it's been a while since I've used it.

Littlebit 05-19-2003 06:53 PM

I'm having difficulties understanding how everything works with photopost...heck, I should have offerred to pay you for a photo gallery had I known! :sigh:
Thanks tigga

Tigga 05-19-2003 06:55 PM

LOL... Well mine's nowhere near ready to be distributed, but when it is I guarantee it'll be better than PhotoPost... And completely integrated with vBulletin. :D

Littlebit 05-19-2003 06:59 PM

wait! in photopost, there is the header-inc file that gives the options to edit for vBPortal intergration as well as vBulletin intergration. I only edited it for vBulletin intergration...
do I need to edit the vBPortal stuff for use with your hack maybe?

Littlebit 05-19-2003 07:04 PM

about your future photo gallery franchise ;) you'd make a killing charging half what photopost does and your 'customer service' that you already offer has far surpassed theirs. They seem a bit rude to people who are new with questions to their way of coding etc... I'm sorta regretting I went with using them.

Tigga 05-19-2003 07:17 PM

Nah, you should use the vBulletin integration. vBportal is totally different. I do still have my old PhotoPost config file though... If you think that would help I can email it to you.
And actually the photo gallery I'm working on will just be a small part of a much larger script. It will be somewhat similar to vBportal, but MUCH better, many more options and scripts, and much less server intensive. Plus it will probably be priced about the same as or less than PhotoPost. ;)

Littlebit 05-19-2003 07:21 PM

Sounds like the start of a fruitful :banana: business!
Yes, will you send it my way ...maybe I'll be able to figure it out with yours to compare...and thanks :)

Goat Boy 05-19-2003 09:47 PM

The admin seems to be highlighted in the active users but the moderators are not, I checked through myvbinbex and I think it looks Ok but not sure, Any ideas?

GB

Toogy 05-19-2003 10:41 PM

I installed this and now I seem to be having problems with users having to Login all the time. They site inactive for a few minutes or go to another forum and they have to login again. Or they can't logout either.

Anybody have any ideas?

Tigga 05-20-2003 01:54 PM

Littlebit - I replied to your PM. Unfortunatly I didn't still have a modified header-inc.php file, but hopefully something I told you in the PM will help. :)

Goat Boy - I just double checked and it seems to be working just fine. Have you maybe changed your moderators usergroupid? Does it work to highlight your mods on your forum's index page?

Toogy - I'm assuming you've tried clearing your cookies and logging in again, right? What do you have your "Cookie Domain" and "Path to save cookies" set to in your main vBulletin options?

Tigga 05-20-2003 02:16 PM

Just using this post as instructions on how to have "multiple mYvBindex's" using the same script. A lot of people seem to ask about that, but I can never find a good post with instructions. :)


To have multiple mYvBindex scripts running that will pull the news from different forums, simply follow these instructions...
First open your myvbindex.php file and look for:

// News

Right above that you will want to add:
PHP Code:

if ($action=='page1') {
  
$newsforum 'XX';
} elseif (
$action=='page2') {
  
$newsforum 'YY';
} else {
  
$newsforum "$newsforum";


In the code above you would want to change XX and YY to the other forumid's of your alternate news forums. Then to link to these new pages your link would need to be something like this:

http://yoursite.com/index.php?action=page1

You can of course change "page1" in the code and the link to say whatever you would like.

If you want more than 3 different news forums, you would simply add another bit of code that was something like this:
PHP Code:

} elseif ($action=='page3') {
  
$newsforum 'ZZ'

Right before the final } else { statement at the end of that code above. Alternatly, if you only want to have 2 different news forums, you would remove the following bit of code from the code posted above:
PHP Code:

} elseif ($action=='page2') {
  
$newsforum 'YY'


Tigga 05-20-2003 02:25 PM

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:

require('./global.php'); 

Right above that you would want to add something like this:
PHP Code:

if ($action=='page1') {
  
$styleid 'XX';
} elseif (
$action=='page2') {
  
$styleid 'YY';
} else {
  
$styleid "";


Then of course you need to change XX and YY in the code above with the style id of the style you wish that page to appear in. You would also want to make sure that each part in the action's (page1, page2, etc) were the same for your news and styles. ;)

Goat Boy 05-20-2003 08:33 PM

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

Tigga 05-20-2003 09:10 PM

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?

Intex 05-21-2003 10:06 AM

Keep up the superb work Tigga. I'm just about to go for the 3.1 > 3.2.1 upgrade :).

jazzcorner 05-21-2003 05:36 PM

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.

jazzcorner 05-21-2003 05:47 PM

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?

Tigga 05-21-2003 05:55 PM

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. :)

jazzcorner 05-21-2003 05:59 PM

Thanks, made that change and it works fine. :banana:

Intex 05-21-2003 09:06 PM

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:

No post specified. If you followed a valid link, please notify the webmaster
When hovering over the 'Post Reply' link you get the following:

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?

Tigga 05-21-2003 09:18 PM

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. :)

refertech 05-22-2003 01:00 AM

uh oh, I've missed alot since I've been out of town. Any major recent bugs?

How are you Tigga my friend?

Mark

Tigga 05-22-2003 02:28 AM

Hey Mark, I'm doing good. Starting a new job and staying busy, but things have been good. :)
The only thing you've missed is v3.2.1 being released, and Intex finding the 2 small bugs above. The changes in the new version were minimal (they're listed in the first post), so hopefully that will be the last bug anyone finds. ;)

Intex 05-22-2003 04:29 AM

Tigga - in your usual professional, lightning style it worked a treat. Nice one m8 :cool:.

Intex 05-22-2003 11:15 AM

Actually I seem to be experiencing some other issues. I was looking at the list of changes from 3.1 > 3.2 & 3.2.1 respectively and noticed there were these additions:
  • Added an option to completely disable signatures in news posts.
  • Added an option to select a random poll from any forum for the poll part of the hack.
  • Now shows the last poster and last post time when you hold your mouse over the title of a thread in the Latest Threads part.
The disable signatures for the news threads option appears in the AdminCP - however the option for a random poll doesn't (I assume of course its supposed to appear in AdminCP of course).

And finally, all my threads still look like the original, i.e. shows the original poster + date/time with no effect when hovering. I believe it should show last poster and have a hover showing the original poster.

I defininately have the right myvbindex.php file as it shows:

// mYvBindex v3.2.1 release by Tigga (Brian Gunter).


Any ideas? My version is 2.2.5 btw ;).

frankenberrie 05-22-2003 11:44 AM

Hello. I just installed the new version of this hack 3.2.1 and read above that there is a way to set the index page to select a random poll. Is this true and if so how? Thank you so much!

Littlebit 05-22-2003 02:16 PM

Hey Tigga,
I just encountered something weird. I have someone else with admin privledges who posts a new thread in the news forum. When I replied to her thread, it fed my post to the homepage. what do I need to do to fix this one? :classic:
Edit: I don't get it. It only did it with my first reply. I replied again twice and it didn't do it. regular members didn't do it either. In case this info makes more sense :ermm:
Edit again: I deleted my post that overwrote my other admins news thread post and it referred to my next in line post in the same thread.
Did I actually find a buggy too? :o
Edit again again: My other admins reply to her news thread didn't feed to the homepage only mine. I deleted my replies and is seemed to put each last one to the homepage that was mine. Hope this info helps.

Tigga 05-22-2003 03:41 PM

Intex - There is not a new option, button, or anything to have it select a random poll - You just put RAND in the "Polls Forum ID" field. It should have a note about that in the description for that field, but it's possible I forgot to add that if you were upgrading. As far as the latest threads part, check to see if you have modified your index_threadbit template. If so, try reverting it to the original and it should have the mouse over effect then.
One other thing... Have you used the poll on your homepage since you've installed the hack? There was a new function added to vBulletin in 2.2.6 that this script uses, so everyone that has tried to use the poll for an earlier version so far has had problems. If you do have a problem, see this post for the fix. :)

frankenberrie - See the first part of my reply to Intex. ;)

Littlebit - Did you by chance upgrade to 3.2.1 before Intex found those 2 small bugs above? It's possible that one of those could be the cause if you did. If so, try downloading the script again (remember you may have to clear your temporary internet files first) and upload the file again... Or you could just try applying the patch I posted in post #1270 (that's the one that could affect the news posts) and the fix posted in #1267. If that doesn't work though let me know and I'll look into it.

Littlebit 05-22-2003 03:53 PM

Hi Tigga, I cleared my cache and redownloaded the latest index. I went to post a reply to a news thread and it popped it onto the index page again. Is it a having two admins thing maybe?

Tigga 05-22-2003 03:58 PM

That shouldn't have an effect... Would you mind setting me up a temporary admin account at your board, an FTP account, and possibly give me access to phpMyAdmin so I can have a look? I can't think of any reason at all it should be doing this, but if you could give me access to check it out myself and do some testing I should be able to find the problem. :)

Littlebit 05-22-2003 04:02 PM

Sure thing...sending you info now. thanks Tigga...you are always beyond great with helping people out.


All times are GMT. The time now is 02:30 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
  • Page Generation 0.03076 seconds
  • Memory Usage 1,844KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete