Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Users Threads in Profile [vB3] Details »»
Users Threads in Profile [vB3]
Version: 1.00, by assassingod assassingod is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 01-31-2004 Last Update: Never Installs: 59
 
No support by the author.

Users Threads in Profile
vB3 Port!

Coded by: assassingod
Extras: g-force2k2
Version: 1

Description:
This shows the threads posted by a user in their profile. You can limit
to how many threads you want to be displayed, and private forums are automatically excluded

Don't forget to click in INSTALL button if you use my hack - Thanks!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 07-21-2004, 08:57 PM
turbidblue's Avatar
turbidblue turbidblue is offline
 
Join Date: Apr 2004
Location: Indiana
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in regards to this,

$forumids = implode ("', '", get_noaccess_forumids()) ;

will that automatically detect forums that some users are not allowed to view? ot do i need to add the forum ids?

if i need to add them, where in that code??

It works fine on my forum, 3.0.3, until i click on my name and view profile from a thread...then i get an error...

any help??
Reply With Quote
  #63  
Old 07-24-2004, 09:20 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me clicks install!
Reply With Quote
  #64  
Old 07-31-2004, 11:51 AM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to make it in only certain fourmids? seprate with commas?
Reply With Quote
  #65  
Old 07-31-2004, 12:19 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, delete
PHP Code:
$forumids implode ("', '"get_noaccess_forumids()) ; 
and replace
PHP Code:
    WHERE postuserid '$userinfo[userid]' AND forumid NOT IN ('$forumids'
with

PHP Code:
    WHERE postuserid '$userinfo[userid]' AND forumid IN ('x,y,z'
Then use the forumids you wish to use there, in replacement of x,y,z
Reply With Quote
  #66  
Old 07-31-2004, 12:21 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you rock man!!! If i could click the install button twice i would
Reply With Quote
  #67  
Old 07-31-2004, 12:26 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thankss
Reply With Quote
  #68  
Old 08-03-2004, 02:23 AM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by assassingod
Thankss
Theres a slight bug it seems. When i place this code.

PHP Code:
$getthreads $DB_site->query("
        SELECT threadid,title,dateline
        FROM " 
TABLE_PREFIX ."thread
        WHERE postuserid = '
$userinfo[userid]' AND forumid IN ('27,28,29,30,31,32,11,5')
        ORDER BY dateline DESC
"
); 
It only shows the threads in ID 27. Which is the first on the list. It doesn't grab the rest. Any reason why?
Reply With Quote
  #69  
Old 08-06-2004, 06:27 AM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to do this so just the threads a user starts show up in the profile?
Reply With Quote
  #70  
Old 08-10-2004, 12:12 AM
LizerisCHN LizerisCHN is offline
 
Join Date: Apr 2004
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Live Wire
Theres a slight bug it seems. When i place this code.

PHP Code:
$getthreads $DB_site->query("
        SELECT threadid,title,dateline
        FROM " 
TABLE_PREFIX ."thread
        WHERE postuserid = '
$userinfo[userid]' AND forumid IN ('27,28,29,30,31,32,11,5')
        ORDER BY dateline DESC
"
); 
It only shows the threads in ID 27. Which is the first on the list. It doesn't grab the rest. Any reason why?

Your code would need to look like this:

PHP Code:
$getthreads $DB_site->query("
        SELECT threadid,title,dateline
        FROM " 
TABLE_PREFIX ."thread
        WHERE postuserid = '
$userinfo[userid]' AND forumid IN ('27','28','29','30','31','32','11','5')
        ORDER BY dateline DESC
"
); 
It needs to define each forumid separately.
Reply With Quote
  #71  
Old 11-17-2004, 03:51 PM
Lee Wilde's Avatar
Lee Wilde Lee Wilde is offline
 
Join Date: Apr 2004
Location: Perth, Australia
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool. Installed in minutes, thanks!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:23 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06033 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete