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-30-2003 05:48 PM

Well you've gotta love it when you make a dumb, simple little mistake. If you'll look in your myvbindex.php file for $pollid and replace that with $pollinfo['pollid'] it should fix the problem.

ivanmcp 05-30-2003 05:53 PM

Lol, thanks for that, I will try it in a minute. I guess you could only see my hands on my webcam, I would have liked to say hello :) .

Also very excited about your new hack - vBadvanced (lite), and can't wait for a pro version :classic:. I appreciate all the time that you put into these things, so no hurry (but make it quick, hehe).

Ivan

arracing 05-30-2003 09:14 PM

thanks tigga, that music is live streaming audio from C-Dance Radio station in Belgium.

arracing 05-30-2003 09:47 PM

Quote:

12-04-02 at 01:29 AM Tigga said this in Post #196
alkatraz - No, that wouldn't be hard at all. At the very bottom of the myvbindex.php file look inbetween the following lines:

PHP Code:

if ($showcustom2) {
  
$getbgrow=getrowcolor();
  eval(
"\$custom2 = \"".gettemplate('index_custom2')."\";");


And:
PHP Code:

$getbgrow=getrowcolor();
eval(
"dooutput(\"".gettemplate('index')."\");");

?> 

In that space you can add code for it to call more custom templates. You would just add something like the following:

PHP Code:

eval("\$custom3 = \"".gettemplate('index_custom3')."\";"); 

The variable $custom3 there can be called whatever you would like and would be what you would use in the index template to call that template. Then the part index_custom3 should be renamed to whatever you are calling your new template. Also, if you would like to be able to use the $getbgrow function in that template to alternate between your firstaltcolor & secondaltcolor, you should add the following above that code as it is with the others.

$getbgrow=getrowcolor();


That is in my include.php file not myvbinde file. also you need to include $custom3 in the index template as well where you want the table to show up.

Tigga 05-30-2003 10:29 PM

Ahh, I forgot you had turned yours into somewhat of a portal, so yes, it would be in your include.php file instead of your index file.

The variable $custom3 there can be called whatever you would like and would be what you would use in the index template to call that template. ;)

Intex 06-01-2003 12:07 PM

Tigga - here's an interesting one. I noticed on the calendar section this morning the date was out. This month should be starting on Sunday, but its starting on a Monday and throwing the table out it seems.

My normal vB calendar is fine btw.

Tigga 06-01-2003 01:03 PM

That's odd... I just tried changing the "Start of the week" option to Monday on my site and it's doing the same thing. It's fine with any other day selected, but not Monday. I did some quick testing and it appears that parts of the calendar are going by the server's time and not using the time offset that is set in the Admin CP, while others are using the time offset. I'm not sure yet if that's also what's causing the problem with the dates being messed up, but it may be. Either way I'll see if I can figure out what's wrong and post a fix as soon as I do. The original calendar hack was written by wajones for vBportal, so I may just end up re-writing it myself.

ivanmcp 06-03-2003 05:32 AM

hehe, i noticed the same issue with my calendar, but decided to wait for the next month.

Tigga 06-03-2003 05:53 AM

Grrr... Well I was hoping it wouldnt be that big of an issue and would work properly after the 1st of June. Apparently that's not the case though... It looks like I'm just going to have to re-write the calendar part from scratch. It will probably be a few days before I have the time to do that, but I will try to get to it asap.

reismarktq2 06-03-2003 05:58 PM

New problem for you, Tigga: My users are reporting that when they access the front page and they get a pop-up indicating they have a PM, the pop-up redirects them to an error message (specifically, to a private.php at the root that doesn't exist). However, if they click on the PM link in the user CP template, there are no problems. Hmm?


All times are GMT. The time now is 02:00 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.03014 seconds
  • Memory Usage 1,747KB
  • 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)bbcode_quote_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