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)
-   -   vbHome (lite) - your vBulletin(powered) main homepage (https://vborg.vbsupport.ru/showthread.php?t=36756)

TECK 10-02-2002 04:35 AM

in the query, you should see there ...$iforumperms $ipollperms...

delete the ipollperm one

TECK 10-02-2002 04:36 AM

then let me know if you got it up, ok?

bouncer18 10-02-2002 04:37 AM

hmm still no workie

bouncer18 10-02-2002 04:39 AM

maybe put $ipollperms back to how it was before we changed it....?

nokia8860 10-02-2002 04:40 AM

PHP Code:

SELECT FROM thread LEFT JOIN poll ON (poll.pollid=thread.pollidWHERE thread.visible=AND thread.open<>10 $iforumperms ORDER BY thread.pollid DESC LIMIT 1 

did i do this right cuz the poll isnt showing.

bouncer18 10-02-2002 04:41 AM

Quote:

Originally posted by nokia8860
PHP Code:

SELECT FROM thread LEFT JOIN poll ON (poll.pollid=thread.pollidWHERE thread.visible=AND thread.open<>10 $iforumperms ORDER BY thread.pollid DESC LIMIT 1 

did i do this right cuz the poll isnt showing.

yes you did..

i think its due to

[code]
$ipollperms = 'AND postuserid=' . implode(' OR postuserid=', array(1, 2, 3));
[\code]

wish i could help Teck... i dont know php that well tho

TECK 10-02-2002 04:41 AM

yep you did... it worked before???? now it's not working?
no bouncer.. is just a variable, if you take it out is like garbage code, it doesnt bother at all.

nokia8860 10-02-2002 04:42 AM

bouncer,

Same here. I am just a follower :( But I love his work!!!


Go TECK Go!

bouncer18 10-02-2002 04:42 AM

Yea..

so what if we change $ipollperms back to the original......

it worked like that before... *just a hunch*

TECK 10-02-2002 04:43 AM

go ahead. :)
have fun... and let me know that it didnt do much. :)


All times are GMT. The time now is 05:08 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.02441 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)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