vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - CES Site News (https://vborg.vbsupport.ru/showthread.php?t=137365)

HybridIllusions 11-24-2007 09:27 PM

Is there a way to make this a feed? vBulletin and my main site as linked, but not as one. The main site doesn't use vBulletin, but can use vBulletin functions is what I mean.

Is there a way to use this like a feed? I wish ot use this as a news system on my website via feed.

TonyComix 11-25-2007 09:50 PM

Well I did all the instruction to install it, but when I post something, I don't see it in the front page in the forum. When I go to news.php it says:

Invalid Forum specified. If you followed a valid link, please notify the administrator

I made sure everything was installed, but nothing.

Everything else works, except for all the things like news.php and displaynews.php ( or something like that ) and displaying news at the top of forum home.

Help?

Saviour 11-25-2007 10:01 PM

LOL!

This is really no different than using the RSS feed in vbulletin. One more thing...the demo link retrieves a database error.

TonyComix 11-25-2007 10:05 PM

Quote:

Originally Posted by Saviour (Post 1389362)
LOL!

This is really no different than using the RSS feed in vbulletin. One more thing...the demo link retrieves a database error.

it was working yesterday, in fact, it was working a few hours ago.

thincom2000 11-28-2007 05:58 AM

Quote:

Originally Posted by TonyComix (Post 1389353)
Well I did all the instruction to install it, but when I post something, I don't see it in the front page in the forum. When I go to news.php it says:

Invalid Forum specified. If you followed a valid link, please notify the administrator

This is really a modified version of forumdisplay and showthread. I could have done the whole mod with plugins but decided to give server memory a break and just hardcoded them as their own files. Basically that means you need to have the forumid in the url like you do in forumdisplay. This will only work for the forums you set in the AdminCP.

If you are trying to do something like my demo where the page is main.php, this is done with ModRewrite.

In your .htaccess file add the following line to your rewrite rules:
PHP Code:

RewriteRule ^main.phpnews.php?f=XXXXX&do=main [L,QSA

Where the XXXXX is replaced by the forumid you want for your main news page.

Chadi 12-19-2007 02:05 AM

Checked my blog today and suddenly getting this error

Fatal error: Using $this when not in object context in /home/user/public_html/includes/ces_news_functions.php(51) : eval()'d code on line 1

thincom2000 12-19-2007 09:11 AM

I'm sorry but I don't own a vBulletin Blog license and hence can't support it. I would recommend just wrapping the call to that file in a condition that says

PHP Code:

if (THIS_SCRIPT == 'newsdisplay' OR THIS_SCRIPT == 'shownews'

Not sure why I didn't do so already. In any case, there will likely be some issues with 3.7 so I'll be releasing an update shortly.

Chadi 12-19-2007 12:04 PM

Where do I edit this? I don't own vb blog either, I just call your hack 'blog' because I use is as a blog per se.

thincom2000 12-19-2007 06:34 PM

In that case, adding the condition probably wouldn't make a difference. Have you installed any new mods recently, or upgraded to vB 3.7?

I have checked the file you mentioned, and it doesn't use $this anywhere.

Chadi 12-19-2007 06:42 PM

Yes, goldbrick media player
https://vborg.vbsupport.ru/showthread.php?t=150491


All times are GMT. The time now is 02:56 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.01606 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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