vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Recent Attachments (https://vborg.vbsupport.ru/showthread.php?t=61244)

Boofo 02-08-2004 07:42 PM

In place of this in your code above. ;)

PHP Code:

 if ($bbuserinfo['usergroupid']!= 0


MindTrix 02-08-2004 07:44 PM

I thought you would need to check it against 0

assassingod 02-08-2004 07:46 PM

If you use
PHP Code:

if ($bbuserinfo['userid']) 

It still checks for 0 which is unregistered users. (I think anyway)

So that won't work.

MindTrix 02-08-2004 07:51 PM

Ahh right, thanks for that

Boofo 02-08-2004 07:57 PM

Steve, you're wrong. What that basically does is ask whether the user has a userid number. Unregsitered users don't. So, yes, it will work. ;)

assassingod 02-08-2004 08:02 PM

I'll admit when i'm wrong (And I was):p

I'll know next time hehe

Boofo 02-08-2004 08:06 PM

That's ok, buddy. You're not alone. ;)

MindTrix 02-08-2004 08:25 PM

Heck i dont even know what php is

Erwin 02-26-2004 09:29 AM

What would make this hack very useful is if you could make it so that it shows the latest attachments WITHIN a specific forum or subforums. :)

MindTrix 02-27-2004 09:32 AM

Guess thats what i need to aim for now then huh :) Thanks for the advice Erwin ill try


All times are GMT. The time now is 06:16 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.01244 seconds
  • Memory Usage 1,726KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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