View Full Version : Geek Article System
intrigue
03-29-2005, 06:29 AM
Hey i guess maybe a question for the geek but i think others may be able to do it too.
Basically im wondering how difficult it would be to add a field to the sytem.
Id liek a director field and an imdb field. (for obvious reasons)
would a tutorial on how to add fields be too difficult to do?
.matt
The Geek
03-30-2005, 05:55 AM
do you have access to phpMyAdmin?
The easiest way to do what you are wanting is to add 2 more columns to the geek_articles table.
You would then need to follow the logic through to assure that
1- the GAS_article_options had input boxes for those fields
2- that the modifications in editpost and newthread passed the contents of those input boxes to their relative functions (think its gas_edit_article and gas_add_article - but dont quote me - thats off the top of my head!)
It really wouldnt take more than about 15 miutes for you to do.
HTH's!
intrigue
03-30-2005, 09:54 AM
do you have access to phpMyAdmin?
The easiest way to do what you are wanting is to add 2 more columns to the geek_articles table.
You would then need to follow the logic through to assure that
1- the GAS_article_options had input boxes for those fields
2- that the modifications in editpost and newthread passed the contents of those input boxes to their relative functions (think its gas_edit_article and gas_add_article - but dont quote me - thats off the top of my head!)
It really wouldnt take more than about 15 miutes for you to do.
HTH's!
15 minutes for you maybe :p
Anyways yes maybe i will look into this, if i do do it then i will document it and pass on the details
.matt
lasto
03-30-2005, 10:02 AM
sorry to jump on this thread but its basically about the same thing anyway
TheGeek - you know how u have the attachments listed to the right of the screen in an article with the rating button - is it possible to have this at the bottom of the screen instead - going across ways - would look a lot better for when i add pics so the text above can use the full width then.
The Geek
03-31-2005, 03:04 PM
sorry to jump on this thread but its basically about the same thing anyway
TheGeek - you know how u have the attachments listed to the right of the screen in an article with the rating button - is it possible to have this at the bottom of the screen instead - going across ways - would look a lot better for when i add pics so the text above can use the full width then.
Are you wanting it to look the same layout as a standard post? You can turn off the sidebar but of course you would lose your attachments (though that isnt that hard to change).
lasto
03-31-2005, 03:05 PM
i like the sidebar but would prefer it if it was`nt at the side but down below the actual text so at bottom really
The Geek
03-31-2005, 03:12 PM
so like a bottom bar? ;)
I started to play about with this - but the ratings and article tools looks lame like that. It would really require the ratings and article tools to go away (maybe back where they came from) and then add the attachments to the butt of the article
lasto
03-31-2005, 05:20 PM
ok what about top at box then :)
anything so the test goes full lenght across the page - i know u can turn that bar off but the articles i have require pics to be inserted and maybe an attachment so i need the bar in one place or another.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.