The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
well i fixed my insert query, it turns out by sending it to gallery.php?do=insert didnt work because when the forum is submitted it wrote a new url called gallery.php?etc. without a do=insert; so basically that was the prob. i have 2 other questions, ive seen in hacks that people use like "type the forum ids you wish to exclude with commas inbetween each", how does that work, i can only thing of something equalling one thing. also the book i have for php doesnt explain how to order things or grab the last entry of sumthing. can someone explain that to me?
|
#22
|
||||
|
||||
can anyone help with the mentioned above?
|
#23
|
||||
|
||||
can someone explain to me why this doesnt work:
PHP Code:
|
#24
|
||||
|
||||
PHP Code:
|
#25
|
||||
|
||||
thanks dean
edit: didnt work>_< could it be because $submitgal is grabbing a template and then im using $submital in another template to call $submitgal's template? |
#26
|
||||
|
||||
anyone know how i could grab the last image added to a gallery(kinda like vb's last post)? and i see in a lot of hacks people say user groupid's who can view: 6,5,4
i dont get how commas create multiple conditions so is the hack in php basically PHP Code:
|
#27
|
||||
|
||||
PHP Code:
|
#28
|
||||
|
||||
cool thanks ill try it out and post if it works but i still dont get y the usergroup if statement wont work>_<
edit: im confused, what do i use the blahblah(); thing for? |
#29
|
||||
|
||||
It's called pseduo code - just put the code in there that you want based on the if condition
|
#30
|
||||
|
||||
hmm its giving me a parse error on line 33.
PHP Code:
also anyone know or have any good tutorials or suggestions on how to do pagination? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|