Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by Kayn Kayn is offline
Developer Last Online: Dec 2010 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-02-2001 Last Update: Never Installs: 59
 
No support by the author.

UPDATED! Woohoo!

I just fixed/added stuff from version 1.0!

Download the new version 1.5 if you have the old 1.0 - lots of better features.

From the readme.txt:

Quote:
This script isn't really a hack, just an external script that pulls information out of the VBulletin Database for news
or whatever reason you see fit. It's easy to install and configure, and has tons of the same features that many other
news scripts have, except you don't have to modify any Vbulletin source code (which I'm never comfortable doing
for some reason, but that's just me .

I had a really rough time finding a good, EASY news script that did what this does. I searched and found some, but
it really came down to easy installation. I didn't want to modify MySql tables or mess with the advanced Vbulletin
source (well, to me anyway). So I wrote this script. Yer.

This script was intended for VBulletin 2.0 only (I don't know if it will work with previous releases) and PHP4.

Working Demos can be found in use at http://pluh.com/forums/PluhNews.php and for headlines,
http://pluh.com/forums/PluhHeadlines.php

After you install, if at all possible, I would appreciate some credit to my script. A link to http://pluh.com
on your page before or after your news would be great. Let me know when you have it installed too - I love
seeing my stuff working on other websites!
You can check out the raw demo here for PluhNews: http://pluh.com/forums/PluhNews.php

And Headlines! http://pluh.com/forums/PluhHeadlines.php


Let me know if you like it! (Thanks Dark Wizard and Bane)

*NOTE: I will not be able to provide support for this hack, as I am extremely busy. Sorry...*

Show Your Support

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

Comments
  #152  
Old 09-13-2001, 10:27 AM
Goldfinger's Avatar
Goldfinger Goldfinger is offline
 
Join Date: Oct 2001
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok this hack is GREAT, when i am logged on my board. But when i am logged out. i get this error

Warning: Cannot add header information - headers already sent by (output started at /path/to/index.php:10) in /path/to/admin/functions.php on line 1457

Note: it shows the direct path i didnt want to show it on here to save somewhat privacy. But anyone have any ideas on how to fix it? I am using 2.0.3.

You can view it at S-Files Online

Thanks .
Reply With Quote
  #153  
Old 09-13-2001, 11:00 AM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just ran into this on another hack. I found that it was because the database name and password was wrong, check your Pluhconfig file for proper settings
Reply With Quote
  #154  
Old 09-13-2001, 11:19 AM
Goldfinger's Avatar
Goldfinger Goldfinger is offline
 
Join Date: Oct 2001
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all the variables are right in the PluhConfig.
Reply With Quote
  #155  
Old 09-13-2001, 08:37 PM
Goldfinger's Avatar
Goldfinger Goldfinger is offline
 
Join Date: Oct 2001
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still have the same problem Web. Even after you fixed it... i cleared my cookies. and it didnt work. but if im cookied it'll work..
Reply With Quote
  #156  
Old 09-15-2001, 11:05 AM
P1aGu3
Guest
 
Posts: n/a
Default

Brilliant Script ... saved me alot of hairpulling and pain ...

I am getting the same header problem ...

My index is basicly a series of includes

PHP Code:
<? include ("location/includes/header.php")?>
various html for table layouts
<? include ("forums/PluhNews.php")?>
various finishing html
<? include ("location/includes/footer.php")?>
Reply With Quote
  #157  
Old 09-15-2001, 11:09 AM
P1aGu3
Guest
 
Posts: n/a
Default

I can already guess that the inclusion of the global.php and admin/config.php is causing the Vbulleting Header functions to kick in causing the conflict with my header.php.

But no idea how to fix it.
Reply With Quote
  #158  
Old 09-15-2001, 11:22 AM
Goldfinger's Avatar
Goldfinger Goldfinger is offline
 
Join Date: Oct 2001
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually the problem is with cookies. there is no header.php and footer.php
Reply With Quote
  #159  
Old 09-15-2001, 11:28 AM
P1aGu3
Guest
 
Posts: n/a
Default

Hmmm ... thats a point ...

My error occurs on line 1459 ... which is "setcookie($name,$value,$expire,$cookiepath);" Below

PHP Code:
// ###################### Start vbsetcookie #######################
function vbsetcookie($name,$value="",$permanent=1) {
  global 
$cookiepath,$cookiedomain;

  if (
$permanent) {
    
$expire=time() + 60*60*24*365;
  } else {
    
$expire 0;
  }
  
  if (
$cookiedomain) {
    
setcookie($name,$value,$expire,$cookiepath,$cookiedomain);
  } else {
    
setcookie($name,$value,$expire,$cookiepath);
  }
  

Reply With Quote
  #160  
Old 09-15-2001, 11:30 AM
Goldfinger's Avatar
Goldfinger Goldfinger is offline
 
Join Date: Oct 2001
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know for a fact its a cookie problem because when you are logged into your board it'll work. But when you delete your cookies from your browser it'll be messed up.
Reply With Quote
  #161  
Old 09-15-2001, 11:33 AM
P1aGu3
Guest
 
Posts: n/a
Default

I think I know how to fix this (long time since I worked with cookies)

Add the following to the top of the index.

PHP Code:
<?
require("forum/fnqglglob.php");
require("forum/fnqglconfig.php");
require("forum/admin/config.php");
?>
Before the require("layout/header.php");

The cookies from memory have to be loaded before the first < html > tag.

Mind you my memory is sad.
Reply With Quote
Reply

Thread Tools

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 01:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06038 seconds
  • Memory Usage 2,301KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_php
  • (1)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_onlinestatus
  • (11)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