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)

Martz 01-24-2002 10:49 AM

Good hack apart from the fact smilies are not parsed - and I cannot and will not change the path of the smilies relative to my domain - that defeats the whole purpose and creates loads of work.

Thanks :)

FleaBag 01-25-2002 03:59 PM

Right here's my situation. The script works fine in the /board subfolder where my forums are. But SSI and PHPInclude on other pages is refusing to work. Hence, is there a way to get these scripts running above the path of the forums folder. So then for example you could rename PluhNews.php to be the index file of your site?

Thanks in advance. Great script, keep up the good work. :)

sianews 01-26-2002 01:16 AM

I ended up using the full URL path rather than the relative path.

Snake~eyes 01-28-2002 05:19 PM

a little note

If you have a site where people submit news. I came up with this little idea. Maybe you guys have, maybe not but its very helpful.

Instead of submitting news via email they have to submit them via forums

-I created a seperate forum, call it submit news and what not.
-I changed the permissions so that people can't see other peoples posts. That way no one knows about the news 'cept for the poster and the admins.
-If someoen posts news and yo think its worthy material just move it to the news forum. If not just reply and say its not.

Simple I think. :D

The only thing is, it says posted by instead of submitted by. But that's okay with me.

sccr410 01-29-2002 07:24 PM

I set it up straight from the zip file, and I get:
Quote:

Fatal error: Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/sandieg/public_html/forum/PluhNews.php on line 6
I do absolute paths for the require and I get:
Quote:

Fatal error: Call to undefined function: bbcodeparse2() in /home/sandieg/public_html/forum/PluhNews.php on line 80
So, now what?



Also, I would like to have the ability to show attached files on the main page. A lot of the time, the people who add news posts are uploading schedules written in a Word doc and load them along with the post. Can this be added?

sccr410 01-30-2002 08:03 PM

Nobody?

DiscussAnything 01-31-2002 11:34 PM

Great script!

Got it working in its simple form...

Now to tackle the look and feel issue and multiple forums.

Thanks!

If anyone has insight on how to do multiple forums wihtout multiple instances of the files that'd be great.

DrkFusion 02-01-2002 12:21 AM

Hey, how would I go about displaying avatars?

Jackyl 02-01-2002 12:57 PM

############## EXAMPLE ERROR #######
Warning: Undefined variable: REQUEST_URI in D:\SITES\site34\www\forums\global.php on line 60

Warning: Undefined variable: QUERY_STRING in D:\SITES\site34\www\forums\global.php on line 68

Warning: Undefined index: HTTP_POST_VARS in D:\SITES\site34\www\forums\global.php on line 85

Warning: Undefined index: action in D:\SITES\site34\www\forums\global.php on line 85

Warning: Undefined index: action in D:\SITES\site34\www\forums\global.php on line 88

Warning: Cannot add header information - headers already sent by (output started at D:\SITES\site34\www\forums\global.php:60) in D:\SITES\site34\www\forums\admin\functions.php on line 1490

####################################

ok guys - I saw a similar error posted a few pages back - I read this entire thread 3 times, and if there was a fix posted I missed it. I'm running IIS 5 if that makes a difference...

I copy all files into the /forums directory - when I go directly to the PluhNews.php I get the above error, but below that the news is displayed - same thing if I use a PHP include in another page - the news is there, right below the same list of errors - I inserted the chdir code above the include global line in the PluhNews.php file - same error. I have tried relative and absolute paths...

This isn't an include problem because it shows the error if I go directly to the nPluhNews.php page - I peeked around in the source, but I'm not too handy with php (or VB for that matter)

The only think I changed during installation was the forums ID - everything else works with the default settings - after getting the error I did change several things playing with variables and paths - various errors came up - the closest I get is a fresh install with no changes because at least the news is displayed under the above errors...

If someone knows what's wrong or could steer me in the right direction I would be grateful.

Thanks in advance for any assistance!

Jackyl 02-01-2002 12:57 PM

oops dbl post arg


All times are GMT. The time now is 02:47 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.01641 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
  • (2)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