The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
Code:
if ($action=="showthread") { extract ($GLOBALS); $users_t=$DB_site->query("SELECT threadid, title,postusername, dateline FROM thread WHERE postuserid=".$postuserid." AND forumid=X AND visible=1"); while ($users_threads=$DB_site->fetch_array($users_t)) { $post[specialthreads].="<a href=\"showthread.php?s=".$session[sessionhash]."&thread=".$users_threads[threadid].'">'.$users_threads[title].'</a> ('.vbdate($dateformat,$users_threads[dateline]).')<br>'; $postusername=$users_threads[postusername] } if (!$post[specialthreads]) {$post[specialthreads]='N/A';} eval("dooutput(\"".gettemplate("usersthreads")."\");"); exit; } Code:
if ($action=="showthread") { include("./global.php"); extract ($GLOBALS); $users_t=$DB_site->query("SELECT threadid, title,postusername, dateline FROM thread WHERE postuserid=".$postuserid." AND forumid=X AND visible=1"); while ($users_threads=$DB_site->fetch_array($users_t)) { $post[specialthreads].="<a href=\"showthread.php?s=".$session[sessionhash]."&thread=".$users_threads[threadid].'">'.$users_threads[title].'</a> ('.vbdate($dateformat,$users_threads[dateline]).')<br>'; $postusername=$users_threads[postusername]; } if (!$post[specialthreads]) {$post[specialthreads]='N/A';} eval("dooutput(\"".gettemplate("usersthreads")."\");"); exit; } Now only the categories are missing. And then it's done and perfect and a great and useful hack! Thank you very much again! |
#22
|
||||
|
||||
what do you mean by categories?
|
#23
|
||||
|
||||
And
Code:
<a href=\"showthread.php?s=".$session[sessionhash]."&thread=".$users_threads[threadid].'"> Code:
<a href=\"showthread.php?s=".$session[sessionhash]."&threadid=".$users_threads[threadid].'"> |
#24
|
||||
|
||||
Sorry, not Categories. I mean the forums, where that posting is in.
|
#25
|
||||
|
||||
If one has no stories in the list, the username is not available too - could this be fixed?
Oh, I added this: Code:
AND visible=1 AND sticky=0"); |
#26
|
||||
|
||||
Is it possible to show the forums where that posting is in? Would be great.
|
#27
|
||||
|
||||
Use:
PHP Code:
|
#28
|
||||
|
||||
Forums in list works, username if no postings doesn't
Nevertheless - thank you for your work on this! |
#29
|
||||
|
||||
edited.. try again..
|
#30
|
||||
|
||||
Hm, I don't see any change to te code before. Can you tell me, what exactly has changed?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|