Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

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
  #332  
Old 02-12-2002, 08:03 PM
Hamma Hamma is offline
 
Join Date: Oct 2001
Location: MA,USA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

btw, I also get an error on the page..

Warning: 1 is not a valid MySQL-Link resource in /path/edited/forums/admin/db_mysql.php on line 93

Check it out here:
http://www.dragonwolves.com/index2.php
Reply With Quote
  #333  
Old 02-12-2002, 09:16 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Hamma
I am getting almost the same:

Invalid SQL: UPDATE session SET lastactivity=1013550858,location='' WHERE sessionhash='553fdfe1c73db55a6e4db8d940df67b4'
mysql error:

mysql error number:

This happens when I try to include headlines and news on the same page.. I want to be able to include at least 3 headline files.. and the news.

I posted about this before but I really need help
If you are having the problem, with only 1 headline and 1 news on 1 page, then go around pages 12 - 15 of this thread and they talk about running the include statement in the header or the index file you are running to call your news. That should fix it with just using 1 headline, 1 news, per page.

My problem is that I need to run 4 headlines, 4 news, that look at 4 different configs, but they all need to be on one page.

Any help for me?
Reply With Quote
  #334  
Old 02-12-2002, 09:20 PM
Hamma Hamma is offline
 
Join Date: Oct 2001
Location: MA,USA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exact same thing I am trying to do I will want to run 4 headlines if not more, and one news. With different config files
Reply With Quote
  #335  
Old 02-13-2002, 01:30 AM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by anders
This script doesent work out of the box in another directory than within the forum directory any plans on releasing something that does?
Why don't you just put it in your forum directory like I did? Full functional using vbcode, etc.

just use the refresh command to redirect to it. No biggie.

See: http://www.GameForumz.com
Reply With Quote
  #336  
Old 02-13-2002, 02:03 AM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Hamma
Exact same thing I am trying to do I will want to run 4 headlines if not more, and one news. With different config files
Don't use 1 news, use 4 different news and just place them right under each other. :up: That is what I am planning to do. I have read every single post in this thread and I saw what you are trying to do hamma and that is the same error I get. It gives that error when you try to have multiple headlines, but it is ok to have multiple news and 1 headline, but as soon as you add 2 headlines into the index file it gives the error.

Maybe this info will help somebody troubleshoot this problem.
Reply With Quote
  #337  
Old 02-13-2002, 10:50 AM
Hamma Hamma is offline
 
Join Date: Oct 2001
Location: MA,USA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This happens even when I use one news and one headline =\ The second i post the headline file it errors
Reply With Quote
  #338  
Old 02-13-2002, 02:29 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Hamma
This happens even when I use one news and one headline =\ The second i post the headline file it errors
Are you inlcuding them correctly into your file? Some people use the pluhnews file and then put their stuff in the header and footer, but I just created a brand new php file and then included the headline and news parts into it. Either way, you need to make sure you have the require statements for the config,and admin/config in there. That could be your problem. Check on pages 10-15 on this thread. I believe it's in there. They talk about making sure to put it before the < html > tag in the file.

let me know if you need more help. :up:
Reply With Quote
  #339  
Old 02-13-2002, 02:41 PM
Hamma Hamma is offline
 
Join Date: Oct 2001
Location: MA,USA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, did all that I have the includes on the top of my index page. Like I said it works perfect till I place headlines on the same page. Ive messed with the Pluhheadlines file a bit and still havent been able to get it going
Reply With Quote
  #340  
Old 02-13-2002, 02:54 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have taken out the require lines at the top of your headline file, or placed "//" infront of the lines?
Reply With Quote
  #341  
Old 02-13-2002, 03:09 PM
Hamma Hamma is offline
 
Join Date: Oct 2001
Location: MA,USA
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, I didnt put in any //'s

But I took out the require lines that i moved to the top of the page... the require line for the config file remains in it. Because im using multiple config files
Reply With Quote
  #342  
Old 02-13-2002, 08:16 PM
Soma Soma is offline
 
Join Date: Jan 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

grrrrrrrrrrrrrrrrrrrreat script and my first post w00tit00t I feel so good to own vb finnally I love the community.
/me smiles
Reply With Quote
  #343  
Old 02-14-2002, 02:03 PM
SystemLogic SystemLogic is offline
 
Join Date: Nov 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have another question. Is it possible to output something along the lines of this:

Title of thread with link to thread
First paragraph of the post <IMAGE HERE TO READ ON (Goes to actual thread)>

So it would like something like this:

http://www.slcentral.com/sldbbetatemplate (Where it says news coverage)
Reply With Quote
  #344  
Old 02-14-2002, 02:30 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think so if I am understanding you right. Are you saying you want both the title and the image to link to the thread?

If so I believe that is possible, infact I think the title links to the thread by default. I took mine off, because with such a big ass page it loads slow, and I figured cutting those urls out of 50+ messages on the page would help out a lot.

if you want to see what I have done with the hack you can check it out here:

http://www.GameForumz.com
Reply With Quote
  #345  
Old 02-14-2002, 04:52 PM
SystemLogic SystemLogic is offline
 
Join Date: Nov 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually the main issue is getting it to just take the first paragraph of a post rather then an entire post. So for example if my post looks like this:

Quote:
Mozilla has reached another milestone, and is now at version 0.9.8. While it's obvious that this is a horrendously slow process for one of the largest open-source program developments, it is happening.

A number of improvements have been made since the last release, including load times, RAM usage, and of course numerous bug fixes (and, as is the usual fair, a few new bugs too). I have actually come to the point where I can use it in place of either Opera 6, or IE 6. It loads quickly enough so that it is no longer horrendous waiting in comparison to the integrated IE (though there is an option to keep Mozilla in memory even after it's closed).

What does everyone else think? Of all the sites that I go to, I've had few, if any problems. The only thing I currently find lacking is the dearth of usage for the scroll wheel on my mouse (admittedly a microsoft one). Does anyone know of a workaround for this? I'm too lazy to look it up myself
On the frontpage it will only show this line:

Mozilla has reached another milestone, and is now at version 0.9.8. While it's obvious that this is a horrendously slow process for one of the largest open-source program developments, it is happening.

with a link to read more which will go to the actual thread with the rest of stuff on it...
Reply With Quote
  #346  
Old 02-14-2002, 05:20 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by SystemLogic
Actually the main issue is getting it to just take the first paragraph of a post rather then an entire post. So for example if my post looks like this:



On the frontpage it will only show this line:

Mozilla has reached another milestone, and is now at version 0.9.8. While it's obvious that this is a horrendously slow process for one of the largest open-source program developments, it is happening.

with a link to read more which will go to the actual thread with the rest of stuff on it...
See this post in this thread: https://vborg.vbsupport.ru/showthrea...323#post178323

It helps, because I have been through every post in this thread a few times so I know it pretty well. :up:

As long as you know basic html, I believe you should be able to change the "...More..." text to an image, and probably be able to adjust the character limit to your liking.
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 06:42 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.07398 seconds
  • Memory Usage 2,369KB
  • Queries Executed 30 (?)
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
  • (7)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
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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