The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Adding attachments into external.php
I'm trying to list attachments in external.php so we can see what's files are available.
PHP Code:
Invalid SQL: SELECT attachment.filename, attachment.filesize, attachment.visible, attachment.attachmentid, attachment.counter, post.postid FROM attachment WHERE post.postid = ORDER BY attachment.dateline mysql error: You have an error in your SQL syntax near 'ORDER BY attachment.dateline ' at line 5mysql error number: 1064 So yea, didn't work...ideas? |
#2
|
||||
|
||||
Quote:
Not to mention a table prefix for it. |
#3
|
||||
|
||||
Quote:
My Objective is merely to get an attachment url link to appear in rss feeds Edit: Tested code, doesn't work. PHP Code:
|
#4
|
||||
|
||||
Code:
post.postid = thread.firstpostid Code:
post.threadid = thread.threadid |
#5
|
||||
|
||||
Quote:
Data is being used in this form: PHP Code:
|
#6
|
||||
|
||||
Try this:
PHP Code:
Link for mod! |
#7
|
|||
|
|||
Quote:
|
#8
|
|||
|
|||
I know this post is LONG dead, but this is what I want to do. I've pasted the code into fps_external.php and tried with the normal external.php and it works in neither for me. What else can I do to get it working? I'm parsing the feed with simplepie but it isn't showing anything for the enclosure bit.
|
#9
|
|||
|
|||
I am also trying to get this working and it doesn't seem to work either... anybody got any other solution? Please help.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|