vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   List of threads a member has started (https://vborg.vbsupport.ru/showthread.php?t=42801)

Grendel 08-27-2002 06:43 AM

List of threads a member has started
 
Is this possible:

I want to show all threads a member has started (of chosen forums).
I run vb on a literature-page and want to make a list of all stories a member has posted.

Any help would be great.

Logician 08-27-2002 07:01 AM

Quote:

Originally posted by Grendel
I want to show all threads a member has started (of chosen forums).

Where? (On user profile? with a click to a link to search them? etc.)

Grendel 08-27-2002 08:35 AM

In the User-Info at the right side of a thread etc., where the avatar, status, etc. are shown. There one should find a link to all threads a member has started.
The list shouldn't be build from all forums but from forums the admin is choosing (in the hack). Thats because only stories should be listed, not the other forums (like website-discussion etc.).

Sorry for my poor english, I'm just a stupid German ;)

Logician 08-27-2002 10:44 AM

1 Attachment(s)
Here you go.. ;)

FYI. this hack increases your query load in postbit loads to a certain extent since it needs to query your database to get users' threads in forum X.

Grendel 08-27-2002 10:56 AM

Great! *hug* *kiss* and so on ;)

(I hope it won't increase the load too much)

Logician 08-27-2002 02:54 PM

Quote:

Originally posted by Grendel
(I hope it won't increase the load too much)
new load=old load+number of posts the viewer views in thread view

Grendel 08-27-2002 05:50 PM

Hm, something is wrong:

Parse error: parse error in /homepages/.../htdocs/vb/admin/functions.php on line 90

Fatal error: Call to undefined function: getuserinfo() in /homepages/.../htdocs/vb/admin/sessions.php on line 324

The parse error is gone, just needed to replace some ' for some ".
But the Fatal error now is:

Fatal error: Call to a member function on a non-object in /homepages/.../htdocs/vb/admin/functions.php on line 90

g-force2k2 08-27-2002 05:53 PM

there's probably a coding error in the hack that you just installed either that or you mis-hacked the admin/functions.php from the error that im seeing... regards...

g-force2k2

Grendel 08-27-2002 06:00 PM

It's nearly impossible to mis-hack ;)

See my edited posting.

Logician 08-27-2002 06:33 PM

Quote:

Originally posted by Grendel
Hm, something is wrong:

Sorry.. "before" in the second step must be "after". ie.

Find
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
function getpostbit($post) {
// sorts through all the stuff to return the postbit template
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

After that add
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
extract ($GLOBALS);
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

This will fix "Call to a member function on a non-object " error..

However there should not be any parse error, there is no here.. I tested it and it's working..


All times are GMT. The time now is 08:34 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.01111 seconds
  • Memory Usage 1,734KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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