vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBExternal v1.6 (https://vborg.vbsupport.ru/showthread.php?t=83005)

adydas 12-27-2005 12:29 AM

Nevermind, see page four fix

jugo 12-27-2005 11:32 AM

Change your $page variable to something else.... like $pg.

Quote:

Originally Posted by Freakpyromaniac
The script is working fine, thanks!

But i still have one problem!

It disabled another script which i was using in the website:

PHP Code:

      <?PHP
                          

function checkPage($page) {
    
//Controle
    
if($page=="index") return false;
    
$page.=".php";
    return 
file_exists($page);
}


$page=$_GET['page'];

if(!isset(
$page) || empty($page)) $page="nl/home";

if(
checkPage($page)) include($page.".php");

?>



it is just a page script,but not working anymore when i put:

PHP Code:

<?php
chdir
("../../HTML/testforum/");
include(
'./vBExternal.php'); 
?>

in the head of the index.

Anybody know the reason, and has a solution?


Dave-ahfb 12-27-2005 10:44 PM

Quote:

Originally Posted by siNix
is there any way to show the start date of the 'latest threads'?

I have tried doing this using the same method posted above for adding the date to latest news output.
Code:

                                                                                             
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']),
'date'    => vbdate($vbulletin->options['dateformat'], $Thread['dateline']),
'time'    => vbdate($vbulletin->options['timeformat'], $Thread['dateline']),
'lastposter'  => $Thread['lastposter'],
)

Of course I changed News to Thread, still cannot get it to work.

hitmanuk2k 12-29-2005 12:21 PM

Fixed.

Totti 12-30-2005 01:43 PM

hmm ... it shows up the latest posts/thread even from private boards ... any way to exclude board IDs?

gyutae 12-31-2005 06:07 AM

does this hack work with the vbseo hack? Does anyone know how to use vbexternal with rewrites?

hitmanuk2k 01-01-2006 02:56 PM

I would like the number of views on the news articles one (I list them a bit differently and have a read more button which links to the threads...). So how would I do that?

hitmanuk2k 01-01-2006 02:57 PM

Forget that it was easy. Just needed to add

Code:

                                                                'views'        => vb_number_format($News['views']),

blu? 01-02-2006 02:24 PM

hi,

when i wanted to display the users online i received a database error called:
Quote:

Fatal error: Call to a member function unlock_tables() on a non-object in /srv/www/htdocs/***/html/forum/includes/functions.php on line 4366

Fatal error: Call to a member function unlock_tables() on a non-object in /srv/www/htdocs/***/html/forum/includes/functions.php on line 4366
what's the mistake?

hitmanuk2k 01-02-2006 05:40 PM

QUESTION:

Is it possible, on the news, to link to the showpost.php for that individual post, as opposed to the showthread.php?


All times are GMT. The time now is 07:20 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.01559 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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