The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Hmm... the file I have it outside of the forums directory - could that be an issue? Because nothing is being displayed, unlike when I put it in the forums directory.
EDIT: Ok, so will this take care of connecting to the database, database function and other vB functions? I have no need for sessions or any of that, just the *basic* things that will allow me to insert new threads. PHP Code:
|
#12
|
|||
|
|||
yeah it could be outside of the forum directory
do you have the paths etc correct? |
#13
|
||||
|
||||
Quote:
See my edit above for how I hope to solve this for the sake of simplicity. EDIT: $foruminfo[parentlist] - how can I load this up (needed in DB query for updating a forum)? |
#14
|
|||
|
|||
whats the
$dbpassword=""; $DB_site->password=""; for after the connect? what are the queries you use? I think they use $DB_site->query() etc, i just use the normal mysql_query this is how i have mine setup PHP Code:
and the query isnt showing anything? try doing echo mysql_error(); to see if something did go wrong |
#15
|
||||
|
||||
PHP Code:
Well, just FYI everyone, I finally got my thing working . I first created a file vbbasics.php that I put in the folder with the submissions forum, which had what I posted above. I then figured out the basic queries to do to get it working in the submit form. The final code was kinda complex and included some site specific stuff, so I doubt it would work as a hack I could submit to the hack database, though I will attach most of it . |
#16
|
|||
|
|||
heh cool
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|