vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Show All The Threads (https://vborg.vbsupport.ru/showthread.php?t=196996)

rooban12 11-23-2008 05:23 AM

Show All The Threads
 
I use this code for shows last 10 threads

<script type="text/javascript" src="home/external.php?forumids=625&type=js"></script>
<script language="" type="text/javascript">
<!--
for (x = 0; x < 10; x++)
{
document.writeln("<a href=\"home/showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a>(By: "+threads[x].poster+") <img src=\"/new_1.gif\"><br />");
}
//-->
</script>

how can I show all the threads from the forum??????

--------------- Added [DATE]1227469619[/DATE] at [TIME]1227469619[/TIME] ---------------

anyone????????????

rooban12 11-24-2008 02:19 PM

help mee pleaseeeeee

punchbowl 11-24-2008 02:23 PM

change 10 to the number of threads you want to show

rooban12 11-24-2008 04:14 PM

when I changed it to any number
only showing 15threads not morethan that

punchbowl 11-24-2008 04:21 PM

Have you set maximum number of threads to show per forum to 15 any where?

maybe "Maximum Displayed Threads Before Page Split" in admincp>gen vb settings>Forum Display Options?

rooban12 11-24-2008 04:25 PM

oh yeaa
if I changed it to 100 or more
will it show all the threads?

--------------- Added [DATE]1227552328[/DATE] at [TIME]1227552328[/TIME] ---------------

no punchbow

I changed Maximum Displayed Posts Before Page Split to 100 but it still showing only 15threads....

--------------- Added [DATE]1227617060[/DATE] at [TIME]1227617060[/TIME] ---------------

anyone help me please!!!:(

rooban12 11-25-2008 05:39 PM

:( anyone can help me????????

Lynne 11-25-2008 07:32 PM

You are getting the data from the external.php page. Variables in there are controled by the External Data Provider in vboptions.


All times are GMT. The time now is 12:48 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.04017 seconds
  • Memory Usage 1,715KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete