![]() |
Please read if you know ANYTHING about hacking vB!
Ok, i got custom testboxes to load entries into the thread table. its there! But, now what file do I need to edit to load that variable into my postbit template (showthread.php)? I tried $post[variable] but that didn't work? Am I using the wrong variable? or is there a file I need to edit? If I need to edti a file, which one?
Thanks!! -Sean |
custom texstboxes? can you explain a little more? im not sure i follow ;\
g-force2k2 |
Ah, ok. :) Like, when you make a new thread, there are textboxes, like Version:. Along with Post subject, etc..
|
oh i see what you mean ;) you have to alter the post and thread database to get what you're looking for ;) sorry about that :)
g-force2k2 |
Oh, so I have to alter BOTH? Hmmm, ok. The only one I have altered now is thread.
|
Well it depends on what you're looking to achieve... if you want just something that is on the first post then you use the thread only if not then you have to use both... thats kinda what i meant sorry :)
g-force2k2 |
Well, actually, I do only want to use it in the first post. :D
So, how do I load the variables on to the first post? What file do I need to edit? (I already have a hack that makes the first post different from the rest.) |
Okay sorry about that... the file that you have to edit is going to be the newthread.php if its a textbox i'd suggest making a maxlength if you haven't and then for it to store as what you'd like you have to find out where the parts are for updating and inserting into the thread... becauase the variable you add will have to be in both ;) hope that helps
g-force2k2 |
Ok, I have already made it so newthread.php adds the entry for the textboxes into the thread table. So, what you're saying, is to also modify it so it adds an entry into the POST table also? I tried looking for whhere vB turns everything from the THREAD table into variables, but I can't find it. Does anyone know what file it is? For example, where does vB change the subject from thread, into the subject in the post? :D
|
Ok, I got it so it loads the entries into both thread and post. But, I still can't get the entries into variables and on to the page!!
They did the same thing here in the hacks forum, how did they load them on to their page??? Anyone? |
All times are GMT. The time now is 03:22 PM. |
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:
|