vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   PluhNews 1.5 (https://vborg.vbsupport.ru/showthread.php?t=21875)

Gutspiller 07-11-2003 11:09 PM

Quote:

Yesterday at 02:29 PM upnorth said this in Post #500
is there any way to set the number of characters that are displayed followed by "..."?

yeah it's in the config file. Just look at the config file and it's all in there.

upnorth 07-12-2003 12:22 AM

These are the only items in the config file. I thought that $newsforums identified which forum to pull from, $newsitems identified how many threads to show at one time, and then $forumspath. Am I mistaken re $newsitems? IS this for the number of characters to display for each thread or am I missing something?

Code from config file:
========================
//Retrieve news from the correct forum, which is the forumid
$newsforums = 1;

//Number of news items to show at once
$newsitems = 10;

//Path to your forums directory (leave out trailing slash)
$forumspath = "/forums";
==========================

Gutspiller 07-12-2003 09:56 AM

I must be thinking abut the Latest XX hack then. I use both quite a bit on my site: http://www.3dnewz.com

upnorth 07-17-2003 07:36 PM

anyone know what would need to be changed to get an attached image file to be displayed with this hack?

D2Expansion 07-21-2003 07:12 AM

awesome script
got it in use and integrated into my site at
www.d2expansion.com

but i have one thing i want to do, and it doesnt really have anthing todo with the script but rather with php

i split the $dateposted variable into 2 variables
PHP Code:

//gotta convert that damn unix time crap
$dateposted date("D, M j",$dateline);
$timeposted date("g:i A",$dateline);
//end the goodies 

wich displays it as:
$dateposted = Mon, Jul 21
$timeposted = 4:45 AM

i want $dateposted to display as Monday, July 21

is this possible?

thanks
Aku12

ga.net 08-01-2003 11:32 PM

Im getting this error:

Warning: main(): stream does not support seeking in /home/green/public_html/index_uaap.php on line 313


FYI, i inserted this tag in my html file and saved it as php

<? include ("http://www.greenarcher.net/forums/campusbuzz.php"); ?>

Hows this?

Thanks

ga.net 08-04-2003 07:47 AM

bump

ProParadox 08-18-2003 04:13 AM

I added a simple bit of code to make it not say last comment was posted by $username when there were no comments. Here it is:
";
if ($replycount[replycount]==0]){
echo "<a href=\"$forumspath/showthread.php?s=&threadid=$threadid\"><b>$replyco unt</b> $commenttext</a>";
}else{
echo "<a href=\"$forumspath/showthread.php?s=&threadid=$threadid\"><b>$replyco unt</b> $commenttext</a> Last comment was by <b>$lastposter</b>";
}
echo"

SweetiePie* 09-08-2003 02:18 PM

Hoping someone can help.

On my site, we are trying to PREVENT certain sections from being viewed in the Actice Topics list (www.clanbrats.com).

Any offers of suggestion?

3DSJFH 09-09-2003 05:15 AM

Any clues whether this can work with vB 3 betas at its current stage?


All times are GMT. The time now is 04:34 PM.

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.01495 seconds
  • Memory Usage 1,740KB
  • 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)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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