The Arcive of vBulletin Modifications Site. |
|
Admin functions Details »»
|
|||||||||||||||||||||||||
Hi all, i'm about to start working on the admin functions for my vBstory hack, but I don't know where to start.
OK, that is a lie, I know that I should use PHP Code:
I think that the admin supports some type of non-template based options, with some special code for input tags, etc... but I don't know what these are. Can anyone gimme a hand please? Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
I am not a coder myself, but what I see the other guys do is write a function for edit, delete or add and then they edit the admin/index.php with the makeeyesnode do?edit do?add etc...and when you click on them it allows you to write directly in database.
|
|
#3
|
||||
|
||||
|
I've just had a look at the code for the admin section of the vBquiz hack, and damn - it looks very confusing
![]() I'll have to see if i can pull it apart and see what I can learn from it
|
|
#4
|
|||
|
|||
|
you might want to look at the glossary hack. It is less complexed.
|
|
#5
|
||||
|
||||
|
Thank you, i'll have a look.
|
|
#6
|
||||
|
||||
|
it took me a while, but I think i'm getting used to this, it's really each once you use all the functions that vB has provided.
what do you think of my form code for adding a story to the database? PHP Code:
|
|
#7
|
|||
|
|||
|
why do you make it only one Character? A story should have more than one Character...
|
|
#8
|
||||
|
||||
|
it only has one Character because the idea is that you take on the role of that person in the story.
the stories will be written as if you was telling a story to your grandchildren from a first person perspective, but in a past tense. For example: I sat in the park and waited for my friends. instead of: He sat in the park and waited for his friends. The story can have more than one character, but you will only have control of one ![]() I hope that makes sense? |
![]() |
|
|