The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBExternal v1.6 Details »» | |||||||||||||||||||||||||
Well, this doesn't modify any php, nor use a plugin, so i wasn't sure exactly where to stick it
Anyhow, this is a port of the vBExternal for vb 3.0.7, so look at this thread for more information: https://vborg.vbsupport.ru/showthrea...threadid=81943 Enjoy - Zero Tolerance Show Your Support
|
Comments |
#292
|
||||
|
||||
Try reversing the include, not sure if that will help.
|
#293
|
|||
|
|||
tried that and get a totally different error
Quote:
|
#294
|
|||
|
|||
Useful hack, but I've got a big problem. It isn't showing stuff with QUOTE tags. I would like to know how to fix this please
Thanks |
#295
|
||||
|
||||
Couple of pre-install questions to those guys on this thread (since Zero Tolerance hasn't been around for 3 months). First, I need to display the contents of one specific thread (via the thread id) as an 'include' type function on a different website on the same server. And possibly on a different website on a different server.
Will vBexternal do this? If not is there a hack which can? The reason I ask is because I want to integrate my forum into a new website (or two) and use it for discussing specific reviews. So those specific threads are displayed on a page below the review. And secondly since Zero Tolerance isn't around any more, is it 'safe' to install this hack if it, indeed is appropriate for my needs? Thanks |
#296
|
|||
|
|||
Quote:
I get that anytime i add the includes and chdir to the php pages. |
#297
|
||||
|
||||
Quote:
|
#298
|
|||
|
|||
I am going to take another look at the include issue tonight, I will let you all know if I come up with anything. I did manage to solve the issue of date and time on threads and replies incase there is any interest.
Dave |
#299
|
||||
|
||||
would be nice thx
|
#300
|
|||
|
|||
I had a couple of things I wanted to try so that global.php would include properly, none of my ideas worked.
In regards to date and time find Code:
function output_NewestThreads($a = 5,$f = ""){ global $db, $Data; Code:
function output_NewestThreads($a = 5,$f = ""){ global $db, $Data, $vbulletin; Code:
$NewestThreads = $db->query("select * from ".TABLE_PREFIX."thread{$SQL} order by dateline desc limit 0,$Amount"); while($Thread = $db->fetch_array($NewestThreads)){ $Data .= ParseTemplate($Template, array( 'threadid' => $Thread['threadid'], 'threadname' => $Thread['title'], 'postuserid' => $Thread['postuserid'], 'postusername' => $Thread['postusername'], 'replies' => vb_number_format($Thread['replycount']), 'views' => vb_number_format($Thread['views']), 'lastposter' => $Thread['lastposter'], Code:
$NewestThreads = $db->query("select * from ".TABLE_PREFIX."thread{$SQL} order by dateline desc limit 0,$Amount"); while($Thread = $db->fetch_array($NewestThreads)){ $Data .= ParseTemplate($Template, array( 'threadid' => $Thread['threadid'], 'threadname' => substr($Thread['title'],0,100), 'postuserid' => $Thread['postuserid'], 'postusername' => $Thread['postusername'], 'replies' => vb_number_format($Thread['replycount']), 'views' => vb_number_format($Thread['views']), 'lastposter' => $Thread['lastposter'], 'date' => vbdate($vbulletin->options['dateformat'], $Thread['dateline']), 'time' => vbdate($vbulletin->options['timeformat'], $Thread['dateline']), This obviously is for the new thread section. For newest replies it looks (but untested) like the first edit is the same and the second just add the date and time lines to the correct section. Dave |
#301
|
|||
|
|||
I forgot to add that you must open the template and include
Code:
{date} {time} |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|