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)
-   -   Forum News (News in a Forum) (https://vborg.vbsupport.ru/showthread.php?t=41052)

nghiasi 07-29-2002 02:17 PM

Nice one!Thanks You

nghiasi 07-29-2002 03:02 PM

Quote:

Originally posted by mem
Warning: php_hostconnect: connect failed in /home/fashe/maze0001/forum/admin/functions.php on line 2339

Warning: file("http://p.moreover.com/cgi-local/page?c=Windows%202000%20news&o=xml") - Bad file descriptor in /home/fashe/maze0001/forum/admin/functions.php on line 2339

Warning: Bad arguments to implode() in /home/fashe/maze0001/forum/admin/functions.php on line 2339

Why?

'


I think you have mess up your functions.php . You might mess up with other hacks with this hacks. :bunny:

JJR512 07-29-2002 06:59 PM

I tried that news feed just now on my own board to test it, it worked fine for me. I also manually viewed the URL http://p.moreover.com/cgi-local/page...0%20news&o=xml and it displayed correctly as well. I don't know what the problem could be for you. Is this the only newsfeed that is giving you a problem? Does it work now? Maybe Moreover.com's server was temporarily unavailable or something.

JJR512 07-29-2002 10:39 PM

I have come up with some optional instructions you can use if you'd like to give your members the ability to turn this feature on or off for themselves. This feature will be enabled by default, and they can elect to not see it. Note that if you have the feature completely turned off (through the admin cp setting added by this hack), that a user cannot turn it on for themselves; in other words, the admin cp setting of "off" overrides a user's setting of "on".

The instructions for this will assume that you have already completely finished the instructions from the original base hack.

mem 07-30-2002 03:49 AM

Quote:

Originally posted by JJR512
I tried that news feed just now on my own board to test it, it worked fine for me. I also manually viewed the URL http://p.moreover.com/cgi-local/page...0%20news&o=xml and it displayed correctly as well. I don't know what the problem could be for you. Is this the only newsfeed that is giving you a problem? Does it work now? Maybe Moreover.com's server was temporarily unavailable or something.
Yes, it can work.
but it is very very slow.

JJR512 07-30-2002 03:58 AM

For just this one feed or for all feeds?

Kars10 07-31-2002 06:44 AM

Hello JJR!!
I like the Idea of this Hack and will install it.
But is there a way to put News in German Language on my Forum?? :confused:
Thanx!

JJR512 07-31-2002 07:05 AM

I don't believe so. The text is provided by an independent website.

bill-t 08-05-2002 11:18 AM

Well, I screwed the pooch on this one... My problem is that I couldn't figure out how to import the sql file in phpmyadmin... So I created the table and tried doing an import, since it it had to have a table to import to... I know it's messed up... Any help? I know I need to delete that table and do that over... Everything else is good to go...

JJR512 08-05-2002 06:02 PM

What do you need help with first? Do you need to know how to delete a table, or did you already do that?

bill-t 08-05-2002 07:31 PM

Yes, I completely undid everything... I think I had everything right except importing the .sql file... Had to do full uninstall cuz it trashed my forums... I couldn't created new forums, couldn't post... got db errors... The errors referenced the table I created... No surprise since I had never manually created one before and winged it... I know myphpadmin is supposed to be able to import the file, but couldn't make it happen... Will do full install again after i'm sure i understand how to do that and it's late enough none of my users will be on the board... any help appreciated... was looking for a script specifically like this for both my vb and for wallpaper I'm making for my wife's dtop...

bill-t 08-05-2002 07:34 PM

let me re-say that... I know for sure I had evrything correct... Uninstalling it was a breeze... Working backwards everything was exactly where it should be and didn't take long at all... (By the way, your notes with the line numbers and stuff are the best I've used...) I've had to rebuild my board from scratch over the last 3 days, and I've done at least a dozen hacks in the last couple days... Every one of them worked on the first attempt... Even so, yours was the clearest despite the fact I failed first time out, lol....

JJR512 08-05-2002 09:24 PM

So your problem was just with importing the database stuff?

bill-t 08-05-2002 09:30 PM

correct... what are the verbatim step for importing the .sql file via phpmyadmin when the table (newsforum or whatever it was called - sorry, don't have the documentation on the screen, but obviously you know the name, lol) doesn't exist to begin with... I tried the obvious, clicking on the choose button and navigating to the file on my hd and it would try and execute the file, but it couldn't load the info as there was no table to load it into...

JJR512 08-05-2002 09:44 PM

In the instructions, in this section: III. Database Modifications, you need to do all the stuff listed in there. The first thing is an ALTER TABLE statement. What you do is copy the entire line(s) and paste it into the Query textarea (window) in phpMyAdmin, then hit Go. Now since you say there was no table to load the stuff from the file into, you probably missed the next part, which starts with CREATE TABLE forumnews (. Copy that entire section, from that line through ) TYPE=MyISAM;, paste that into the Query window, and Go. Make sure you have done the three queries after that as well (if you're not sure if you did or didn't, you can check by going to your admin cp, vBulletin Options page, and look for a section called "Forum News"; it will probably be the last section). After you have done all that, then you should try to import the sources.sql file, by doing just what you said you did the first time.

bill-t 08-05-2002 09:57 PM

You're absolutly right... I went thru those directions at least a dozen times and somehow missed ever even reading that paragraph every single time.... Unbelievable... The one below... speechless... Thanks!

<CREATE TABLE forumnews (
forumnewsid smallint(5) NOT NULL auto_increment,
xmlsource char(100) NOT NULL default '0',
title char(250) NOT NULL default '0',
PRIMARY KEY (forumnewsid)
) TYPE=MyISAM;>

Erwin 08-06-2002 01:17 AM

JJR512,

This is a great hack, as usual from yourself. :)

Just a question - is it possible to create my own keyword to search Moreover with so that I can have my own news category?

bill-t 08-06-2002 06:51 AM

Installed in minutes this time, thanks!

TalkHardRandy 08-07-2002 12:38 AM

I got a small problem & don't know how to fix:

I installed the hack with the add-on at the same time, however I go into my admin CP & I see a blank area under "Forum News". First thing I checked was the settinggroup queries... sure enough I put in the wrong number. Removed the three entries & tried them with the correct number - still nothing.

I've triple checked my PHP & everything looks the same. Any ideas?

JJR512 08-07-2002 01:09 AM

What is the settinggroupid number of the Forum News settinggroup? Did you put this same number in the appropriate spots for the two settings?

bill-t 08-07-2002 01:22 AM

I've started having a problem on my board and I noticed it shortly after I installed this last night... I **DO NOT** think it is from installing this hack - as I stated earlier, I've installed a number of hacks in the past few days... I simply didn't see the problem until last night after doing this and the problem is intermittent enough that I well could have had it for some time before that and not known it... (just wanted to make that clear so I don't ruffle any feathers..)

I'm re-posting a post I made in another place on the forum here... My question is this - are any of the changes made potentally able to cause something like this? I notice that one thing that is more likely to cause it is going into a forum - if I stay out of a forum I'm more likely to be ok - and the forum has the option to have the stories...

REPOST - I've seen lots of threads with similar issues; different people seem to have similar issues but each seem to be a little different but there are common threads...

I had to rebuild my board from scratch - my wife accidently wiped out her site and in the process wiped out 3 of my domains both on my hosting server and on my server at home.... So I installed 2.2.6... For the first 2 days, things were normal.... I noticed though that I would have to log in every now and then when going from one page on the board to another...

It seems that sometimes I'll go through a period of time when I'll have to log back in every single time I change views on the board... Doesn't matter what browser I use... (opera, ie5.5, netscape4.79, netscape7.0[not the preview release, but a daily build], netscape 6.2.3 or mozilla 1.0 final).... killing disk and memory cache, cookies, history or even switching to a virgin machine makes no difference... switching to a different test account fixes problem...

Build several test accounts... Some have problem, some don't... problem comes and goes... will work fine for awhile then not....

question - possible that having same username on different vB boards a problem?

anyone have a solution? 2.2.6, using a host that has worked fine in past... board not usable....

TalkHardRandy 08-07-2002 07:23 PM

Quote:

Originally posted by JJR512
What is the settinggroupid number of the Forum News settinggroup? Did you put this same number in the appropriate spots for the two settings?
I picked a large number 90 & replaced the 32 in all the queries with 90.

bill-t 08-07-2002 07:42 PM

I changed the gmt time setting in the vb options page last night... after doing so, I didn't have any problems for 2 straight hours... That may have been the problem, even though it never has before...

zootsuit 08-09-2002 12:07 AM

Quote:

Originally posted by TalkHardRandy
I picked a large number 90 & replaced the 32 in all the queries with 90.
Any news?

TalkHardRandy 08-09-2002 06:35 PM

Quote:

Originally posted by zootsuit


Any news?

Yeah... I still can't see the administrator options in the CP, but in one of my admin only forums, I have the news working!

PIMPY 09-28-2002 12:30 AM

Hey, great hack, and super easy to do.

only one thing, is it possible for oyu to add a way for us to make our own news things? Cause that would make my anouncements forum so much better if i could make them news articles, and then use the forum for just chat about our own news.

MultiSync 09-28-2002 12:50 PM

I am kinda new to forum stuff. How can I do the last step for the database thing? :o

From where? I am using xp. Can anyone give me detail instructions, cuz I am pretty new to this stuff. Thanks!

X-Fan 09-28-2002 01:31 PM

JJ, I'm wondering how customizable this hack is. I run a comic book news site, and I'd like to have the latest articles from the news/features/reviews forums to be displayed on the forum homepage, kind of like what vbPortals does for its own front page but with the addition of a ticker as well.

Please mind my ignorance of PHP coding, but would it be possible to modify this hack to do that, or would that require a completely different hack?

BigCheeze 10-22-2002 01:17 AM

I have this installed, but I'm not seeing any news in any forums where I have a news catagory selected.

Thanks!

Glenn379 11-07-2002 04:15 AM

I tried installing this today, everything went smoothly except I have one problem. I can't actually post news. How do I do that? I'm not sure if I imported the sources.sql right. To make sure can anyone tell me how? Everything else is done like it should be. Everything is working except I don't know how to make news. Someone please help me.

BigCheeze 11-07-2002 04:44 AM

Quote:

Originally posted by Glenn379
I tried installing this today, everything went smoothly except I have one problem. I can't actually post news. How do I do that? I'm not sure if I imported the sources.sql right. To make sure can anyone tell me how? Everything else is done like it should be. Everything is working except I don't know how to make news. Someone please help me.

I didn't either...

Erwin 11-07-2002 09:07 AM

For those missing news in the forum, did you edit the forumdisplay_*** templates?

BigCheeze 11-08-2002 01:33 AM

HAHAHAHA!! I found the problem... What a shmuck I am!! LOL!

I created a new template... called forumnew... I left off the s

HAHAHAHA! DOH!! It works!

AzzKickr 11-27-2002 02:08 AM

is it real to write my own news?
i don't wanna news from this site (and its really inrease speed of loading!) please tell me what should i do to do that? :ermm:

Visionray 11-27-2002 04:48 AM

This is one amazing hack!!!

I've been looking for exactly this you are my hero man!!
Works perfectly.
cheers :)

Erwin 11-27-2002 04:50 AM

I have to agree that it is very good, and works well. :)

Visionray 12-03-2002 03:44 AM

While this is a great hack, I am now questioning the legal aspects of this.

It seems that as of August 27th, you are not allowed to use free Moreover scripts on your website unless you are a charitable organization, which I would think many of us are not.

http://moresuitable.com/moreover_terms_020827.html

Can anyone comment on this? Is there any way for moreover to find out you are using thier feeds?

Erwin 12-10-2002 08:58 AM

Yikes... moreover.com is down, so it's causing havoc in my site headers...

Visionray 12-10-2002 12:13 PM

Quote:

Originally posted by Erwin
Yikes... moreover.com is down, so it's causing havoc in my site headers...
yea same here. It was taking over 10 seconds to load each page with the forum news.

Luckily this hack has the feature where you can automatically turn off the news. :)

nymyth 12-11-2002 02:05 PM

um guys having a problem with the hack, i have the 2 options in the admin cp, but i dont have that second image thingy, that appears on the first post, and i cant see the news....anybody knows whats up...i went through the thing twice......

Peace


All times are GMT. The time now is 03:00 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.01346 seconds
  • Memory Usage 1,823KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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