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)

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'



All times are GMT. The time now is 08:42 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
  • Page Generation 0.03205 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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