Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Pluhnews question Details »»
Pluhnews question
Version: , by Borsti Borsti is offline
Developer Last Online: Jul 2003 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 11-13-2002 Last Update: Never Installs: 0
 
No support by the author.

Hi,

I?m testing around with Pluhnews. Now my Question is if I can use PluhHeader and PluhNews alltogether on one page (with include)? I?m getting PHP errors when I try that. Can that be done? I want to combine that with Anchor Links on top of the page.

I also would like to make the include call from a php page in another directory but I?m getting PHP errors with not finding ./global parameters.

The last one is the date format: http://www.php.net/manual/en/function.date.php

Are there some available in other languages (german in detail). I would just need the days.

Thanks a lot!

Lars

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-06-2003, 09:35 PM
roxics's Avatar
roxics roxics is offline
 
Join Date: Jan 2002
Location: Detroit Area
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I'm having the same problem too. Can you tell us how you fixed it?
Reply With Quote
  #13  
Old 01-08-2003, 01:48 AM
White Knight White Knight is offline
 
Join Date: Nov 2001
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It has something to do with Multiple SSI tags on the same html page I think. I just did a search and it seems that ssi will only call once on a page.. not twice. But I have heard there is a away around this.
Reply With Quote
  #14  
Old 01-08-2003, 09:17 AM
Jwolfe Jwolfe is offline
 
Join Date: Oct 2002
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the fix...

To fix the header issue, do the following:

In the PluhNews.php file REMOVE or COMMENT OUT
require("./global.php");

In the page where you want to display your news, insert this before ANY HTML
require("./global.php");

Go to your Admin Panel in vBulletin and under vBULLETIN OPTIONS
go to the section called HTTP HEADERS AND OUTPUT .

Find this section:

Cookie Domain
The domain on which you want the cookie to have effect.
If you want this to affect all of yourhost.com rather than just forums.yourhost.com,
enter .yourhost.com here (note the 2 dots!!!). Can be left blank.


ADD
.yourhost.com to the input box; save.

Your done.

This error was a combination of a few things. The cookies generated by vBulletin were part of the culprit as they were not being applied to any pages outside of vBulletin application. The second issue was that the global.php was being called twice by the [require('./admin/config.php');] by the PluhNews.php file.

I pretty much concluded that the error was either a cookie or a cache issue since the error was being generated randomly and on different machines. After that, it was just a case of sorting it out.

The author of this script should include this in his installation instructions. Would have saved me, and I am sure many others, wasted hours trying to figure out this error.

Enjoy!
Reply With Quote
  #15  
Old 03-25-2003, 10:00 PM
ga.net ga.net is offline
 
Join Date: Jan 2003
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question: How do you prevent pictures to be displayed in the thread. I already disabled the [IMG] Tag so that only the link to that picture will be displayed but when I go to Pluh News, it still displays the picture. Pictures that are too big could ruin the layout of my page

Thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:09 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.04151 seconds
  • Memory Usage 2,238KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete