The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I was advised on the official forums to post my problem here.
http://www.vbulletin.com/forum/showthread.php?t=161945 *Edit*: Oops wrong section, can a member of staff please move this thread to the correct section? ----------------------------------------- Hello, I used to run a nice news system to export news from a certain forum section onto my main page using external.php. This is what I used on vBulletin version 3.0.7: PHP Code:
As you can see, I was dependant on the clean_text() function which seems to have been removed all together from the current vBulletin version's external.php file. I copy-pasted the above code into the new external.php, also copy pasted the old clean_text() function somewhere near the top of the file. I also changed: Code:
else if ($_REQUEST['type'] == 'NEWS') Code:
else if ($vbulletin->GPC['type'] == 'NEWS' AND $vbulletin->options['externalrss']) Quote:
Quote:
Thank you. |
#2
|
|||
|
|||
![]()
You are posting this in the wrong forum :ermm:
This is the forum for coders to release their mods for vBulletin. |
#3
|
||||
|
||||
![]()
grOOVy, I recognize some of that code.
![]() If you want a copy of FPS_EXTERNAL.PHP that works with 3.5.x let me know.... I've got it running on my personal site but haven't released it yet. |
#4
|
|||
|
|||
![]() Quote:
|
#5
|
||||
|
||||
![]()
PM me an email address to send it to and when I get home tonight I'll send it out.
|
#6
|
|||
|
|||
![]() Quote:
Thanks for emailing the file. I put in my news type inside fps_external.php, but I still get the parse error on line 1 @ first post. Any ideas? The only change I did to fps_external.php is add the following at line 425: PHP Code:
Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|