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
  #72  
Old 01-15-2005, 01:24 PM
MajorFm.com MajorFm.com is offline
 
Join Date: Dec 2004
Location: UK
Posts: 402
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack... however

Step 2:
Open includes/functions_misc.php and find (1 change)
Code:
// ###################### Start microtime_diff #######################
Above, add:

Code:
// ###################### Start no_access_forumids #######################
// This was originally coded by g-force2k1 - Thanks very much buddy!:)
// gets which forumids users dont have access too
function get_noaccess_forumids (  )
{
    global $forumcache, $bbuserinfo ;

    $_naforumids = array (  ) ;
    $_naforumids[] = 0 ;
    foreach ( $forumcache AS $forumid => $farray ) :
        if ( ! ( $farray['permissions']["$bbuserinfo[usergroupid]"] & CANVIEW ) ) :
            $_naforumids[] = $forumid ;
        endif ;
    endforeach ;

    return $_naforumids ;
}
I get the following error

Code:
Fatal error: Cannot redeclare get_noaccess_forumids() (previously declared in /usr/local/apache/www/crazyapes/majorfmforum.com/htdocs/forum/includes/functions_user.php:517) in /usr/local/apache/www/crazyapes/majorfmforum.com/htdocs/forum/includes/functions_misc.php on line 18
Reply With Quote
  #73  
Old 02-11-2005, 12:42 AM
Ghostsuit's Avatar
Ghostsuit Ghostsuit is offline
 
Join Date: Nov 2001
Location: Glasgow, Scotland
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like you have the same function installed twice. Once in function_user.php and once in function_misc.php

Try removing the misc one and see what happens.
Reply With Quote
  #74  
Old 05-10-2005, 06:55 AM
iceytdot iceytdot is offline
 
Join Date: Apr 2004
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works after i took out that line causing everyone trouble! clicks install thanks for tha hack!
Reply With Quote
  #75  
Old 07-09-2005, 09:02 AM
Thug Thug is offline
 
Join Date: Feb 2004
Location: Sheffield : uk
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone help me

i was installing user threads in (vb3) hack

but i installed user threads(vb3) hack and well i have this error
http://www.oh-twadi.com/forum/member.php?u=24
^^not there its just example of where it was error below

PHP Code:
Fatal errorCall to undefined function: get_noaccess_forumids() in /home/ohtwadi/public_html/upload/member.php on line 421 
it told me to add this

PHP Code:
// THREADS
// By assassingod
// Dont forget to change the variables on line 394

$limit '5'// Enter the number of maximum threads you want to be displayed
$forumids implode ("', '"get_noaccess_forumids()) ; 
last line = error line 421
</b>
Reply With Quote
  #76  
Old 07-09-2005, 09:03 AM
Thug Thug is offline
 
Join Date: Feb 2004
Location: Sheffield : uk
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also i dont get this

PHP Code:
// Dont forget to change the variables on line 394 
^^^
Reply With Quote
  #77  
Old 07-09-2005, 12:32 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed flawlessly in 3.0.7 - thanks!

**clicks install**
Reply With Quote
  #78  
Old 07-10-2005, 03:12 PM
Thug Thug is offline
 
Join Date: Feb 2004
Location: Sheffield : uk
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have various errors can someone help me

1st error
while creating new thread
http://www.oh-twadi.com/forum/newthr...=newthread&f=7

PHP Code:
Fatal errorCannot redeclare get_noaccess_forumids() (previously declared in /home/ohtwadi/public_html/forum/includes/functions_misc.php:19in /home/ohtwadi/public_html/forum/includes/functions_misc.php on line 34 
2nd error
while veiwing a profile
http://www.oh-twadi.com/forum/member.php?u=1
PHP Code:
Fatal errorCall to undefined function: get_noaccess_forumids() in /home/ohtwadi/public_html/forum/member.php on line 422 
can you help me at all
Reply With Quote
  #79  
Old 07-10-2005, 05:20 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I worked this out with Thug, and got it working for him. If anyone else wants to get this working simply follow the attached instructions instead.
Reply With Quote
  #80  
Old 09-22-2005, 07:17 PM
Thug Thug is offline
 
Join Date: Feb 2004
Location: Sheffield : uk
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still got a problem now
my members profile shows all threads,even though the limit is at 1
heres my codings

PHP Code:
// THREADS
// By assassingod
// functionality fixed by yoyoyoyo
$limit '1';    // Enter the number of maximum threads you want to be displayed

 
$getthreads $DB_site->query("
        SELECT threadid,title,dateline
        FROM " 
TABLE_PREFIX ."thread
        WHERE postuserid = '
$userinfo[userid]' AND forumid IN ('1','2','')
        ORDER BY dateline DESC
"
); // enter the forums you wish to exclude in the above array  where the numbers represent the forum ID's

    
while($threads $DB_site->fetch_array($getthreads))
    {
        
exec_switch_bg();
        
$threads['date'] = vbdate($vboptions['dateformat'],$threads['dateline']);
        
$threads['time'] = vbdate($vboptions['timeformat'],$threads['dateline']);

        eval(
'$usersthreads .= "' fetch_template('memberinfo_usersthreads') . '";');
    } 
Reply With Quote
  #81  
Old 09-27-2005, 08:05 AM
Scribbller Scribbller is offline
 
Join Date: Nov 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible that threads from a particular forum be displayed like it happens on VB.org threads in hack forums are displayed in profile.
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 11:15 PM.


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.04854 seconds
  • Memory Usage 2,325KB
  • 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
  • (3)bbcode_code
  • (6)bbcode_php
  • (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
  • (3)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