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)

amykhar 12-15-2001 01:54 AM

It's not tough. Just make sure to get the full path to your Pluhconfig.php file, and then in your global.php, edit the requires to contain the full path as well.

Instead of include "PluhConfig.php" you would have include "/home/username/dirctory/PluhConfig.php"; I am doing it across 3 domains, and it works like a charm.

Amy

Goldfinger 12-15-2001 04:46 AM

Quote:

Originally posted by Xube
(and here's the tricky(?) part....), the first sentence or so of the text of the post (not the entire post).


That isnt that hard to do.. :).

Modification email sent :)

yulee 12-15-2001 09:29 AM

Quote:

Originally posted by amykhar
It's not tough. Just make sure to get the full path to your Pluhconfig.php file, and then in your global.php, edit the requires to contain the full path as well.

Instead of include "PluhConfig.php" you would have include "/home/username/dirctory/PluhConfig.php"; I am doing it across 3 domains, and it works like a charm.

Amy

Thank you very much Amy, I need to be sure before filling the license. I'm really excited with vbulletin!

Sean 12-15-2001 09:52 PM

Ok, I am trying this script out. Very nice. I have my forums on a seperate sub-domain (I want the news on electron-designs.com, but my forums are on forums.electron-designs.com). I got the news working, but now my problem is getting the parsing to work. When smilies are parsed, it tries to find the images on that domain. Is there a way I can get it to look for them under the sub-domain? (Changing the URL to the images won't affect it, because the URL vB requires is a relative path..)

Thanks.

amykhar 12-16-2001 03:27 PM

You'll have to do what I did. Go to your smilies and make them reflect the full url.

Amy

sianews 12-18-2001 04:33 PM

While were requesting things :)

I run a news site and post news in a news program I run and in my forum. Would there be anyway to.

1. Include a checkbox on the new thread page that says "Add this thread to front page"? Otherwise that particular thread isn't included.

sianews 12-18-2001 04:50 PM

I finally got the script running and have an even better suggestion.

The way my news is set up now, the headline link goes to the acutal news source. Would there be anyway to have a "URL" field placed under the title field on the new post thread where the user would put the URL to the source? Then have Pluh use that, rather then the link to the post, for the headline?

KuraFire 12-18-2001 06:26 PM

Quote:

Originally posted by amykhar
It's not tough. Just make sure to get the full path to your Pluhconfig.php file, and then in your global.php, edit the requires to contain the full path as well.

Instead of include "PluhConfig.php" you would have include "/home/username/dirctory/PluhConfig.php"; I am doing it across 3 domains, and it works like a charm.

Let me get this straight (haven't had the time to read the entire thread) - if I want to include the news script and the headline script on other domains I have to put the full URL's to everything in my forum's global.php and the Pluhconfig.php and that's it? Not in any other script(s) or forum files?

Sean 12-18-2001 09:21 PM

No, not URL's, your ROOT PATH

eg: /usr/sites/yourname.com/forums/public_html/

You need the FULL PATH It is relative right now. :)

KuraFire 12-18-2001 10:10 PM

Aww crap, it's gonna be hell setting up my network of sites then, cos I'm building them on my own computer, Win2K with Apache+PHP+MySQL installed, but it'll all be different on my webhost! :(

Crud..

So in Win2K, should I use directory paths then? I.e. g:\program files\apache\apache group\htdocs\board ?


All times are GMT. The time now is 06:44 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.01509 seconds
  • Memory Usage 1,741KB
  • 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
  • (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