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)

SystemLogic 07-17-2001 06:42 PM

I saw one sites example where he had a source site which showed up as a seperate field in his news posts....how would i go about doing that?

sysmom 07-17-2001 06:50 PM

I'm using it as an include, and it worked flat out right the first time.

I especially LIKE using it as an include because I can hide the php source filename from public consumption. I wasn't particularly happy with the database name/password hanging out there. Yes, yes, I know, it's executed by the server, but now it's just that much harder to know where to look.

You should *see* the name I gave it... Heh.

And the page with the header and footer in it has a nice predictable page template named, news.shtml

:)

But there's no news.php in my directory...

-deb (only mildly paranoid...)

Dark_Wizard 07-17-2001 09:14 PM

Kayn >>> I sent you the fixes again....check your email! I can also add the multiple forums for you if you want but would like to see what you have so far....actual code that is ;)

Kayn 07-17-2001 09:21 PM

Actually, I think I've got that figured out! :)

I'm making some changes now...you'll see the new version out tonight.

Kayn 07-17-2001 10:36 PM

New Version is out. Go to the first page to get it!

Thanks for all your help ya'll! :) :)

Bane 07-17-2001 11:15 PM

Quote:

Originally posted by Kayn
(Thanks Dark Wizard and Bane)
The credit to me would be much better suited aimed towards Redmak, he is the originator of the codefix, I just slapped it in the file.

The script is looking good :)

Infinite 07-18-2001 12:23 AM

Doesn't seem to work for me. I just get a white screen on both pluhnews.php and pluhheadlines.php

Richard

Dark_Wizard 07-18-2001 12:36 AM

Did you make the necessary changes to PluhConfig.php?

Infinite 07-18-2001 12:44 AM

This is my config file...

<?
//This is the Config file to get PluhNews running.
//**********************
//Set some Variables

//Retrieve news from the correct forum, which is the forumid
$newsforums = 32;

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

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

?>

Dark_Wizard 07-18-2001 12:48 AM

Can I have a URL?


All times are GMT. The time now is 11:50 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.01503 seconds
  • Memory Usage 1,734KB
  • 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_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