![]() |
The following modification was done for vBExternal Lite, I would've posted this in that thread, but it's locked and says to come to this one.
I'm running vBulletin 3.6.4 Okay, I tried to modify this so it would work with attachments but unfortunately I'm coming up short for some reason. Here's what I did. In vbExternal.php find: PHP Code:
PHP Code:
Save and upload. In NEWS.PHP (located in your root/vbExternal folder) Find: PHP Code:
Code:
Now theoretically I think this should've worked, but like I said, I'm running into a few speedbumps. 1. It doesn't seem to recognize the IF statements for some reason 2. The actual attachments don't show. (you can tell it's trying, but I think maye my variables in vbExternal.php aren't defined correctly maybe?) Any coder here want to tell me where I went wrong? Attached is a screen shot of the results I've gotten so far. |
Ok, I realized I added the variable definitions in the wrong block of code. (I was putting them in the Newest Threads block instead of the News block).
It's still not working correctly, but I think I'm getting closer. To undo the changes I made in the above post and correct them to what I have now, you're just moving some code around: In vbExternal.php find: PHP Code:
Then find: PHP Code:
And UNDERNEATH that ADD: PHP Code:
|
Quote:
|
Same Problem here.
|
Anyone know where to add the "require_once" code in Joomla?
If I put it in index.php (root) it logs me out. If I put it into the template header it makes the page blank!? |
Holy crap you finally updated vbexternal.
*Bows down and cries in happiness* |
The thread posts block is not parsing images. it just shows a clickable link when i use the [ img ] [ /img ] tags
|
Hi, great mod. I'm having trouble however, for some reason or another this script is pulling through more than just the block, and I'm finding title, html, head, and body tags appearing in my source, which is of course causing conflicts. How would I go about preventing said tags being pulled through? thanks.
|
I will try it.
|
Quote:
My block has the following entered into the DB, any ideas which part of the string is the problem? Or is it the file doing the parsing where the issue is? Code:
a:12:{s:11:"maxpthreads";s:1:"5";s:12:"maintainperm";s:1:"0";s:6:"bbcode";s:1:"1";s:6:"forums";a:1:{i:0;s:2:"31";}s:10:"filtertext";s:0:"";s:10:"filtertype";s:5:"title";s:7:"orderby";s:4:"date";s:8:"orderdir";s:4:"desc";s:5:"range";s:3:"all";s:8:"maxtitle";s:0:"";s:11:"maxusername";s:0:"";s:8:"maxposts";s:0:"";} |
All times are GMT. The time now is 11:54 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:
|