The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#101
|
||||
|
||||
So i just wrote a custom workaround so I don't have to have this code in a function.. it is ugly but it works.
I know there is a lot of people using this hack since this thread is so big, but has anyone gotten posts to display on another page? Is there an easy way to get vbulletin to display posts in their format or is the easier way to just grab the postdata from the db and display them myself? |
#102
|
|||
|
|||
Quote:
Did that end up working? If so, can you post your build_new_post function, as I need a way to get the threadid back out of this... |
#103
|
||||
|
||||
You don't have to modify build_new_post().
If you take a close look at its implementation, you will see that $post['threadid'] contains the threadid $threadinfo can't contain the threadid, as this paramater is call by value instead of call by reference (like $post or $errors) |
#104
|
|||
|
|||
Quote:
|
#105
|
||||
|
||||
Hrm, don't think my subscription is working to this thread, ack!
Anyway, just as an FYI, I'd release this as an official hack if I could find an article or something that would tell me the easiest way to make a menu within the admin panel. |
#106
|
||||
|
||||
What do you mwan with " make a menu within the admin panel."?
|
#107
|
||||
|
||||
sry, i'm a bit sleep deprived atm
Basically when you look at some hacks, you see that they have added menus to the adminCP / modCP areas. GUIs to make the hack as easy as possible to use. IMHO, someone should make a tutorial on how to do it for newbie vB hackers anyway. Now that I think of it though, I can't recall WHY I wanted that. IIRC, I had a good reason (someone posted a reason why in this thread), but I'm spacing ATM. One main reason for the function was for server-side bots/programs to auto-post info (e.g. RSS feeds, whatever). My personal reason for it was similar. Would you even classify this as a hack? It's more of a collection of vB functions IMHO. |
#108
|
||||
|
||||
Stupid question, but how do I put carriage returns in? \n doesn't work.
|
#109
|
||||
|
||||
Never mind. I just discovered the distinction between single and double quotes in PHP.
|
#110
|
||||
|
||||
kewlness
Yes, I plan to update this when vB 3.5 comes out if it doesn't work |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|