![]() |
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? |
Quote:
Not to mention a table prefix for it. |
Quote:
My Objective is merely to get an attachment url link to appear in rss feeds :) Edit: Tested code, doesn't work. PHP Code:
|
Code:
post.postid = thread.firstpostid Code:
post.threadid = thread.threadid |
Quote:
Data is being used in this form: PHP Code:
|
Try this:
PHP Code:
Link for mod! https://vborg.vbsupport.ru/ |
Quote:
|
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.
|
I am also trying to get this working and it doesn't seem to work either... anybody got any other solution? Please help.
|
All times are GMT. The time now is 01:28 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|