How to go about a switchable area in the topic

This forum is now closed as part of retiring phpBB2.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
Night4554
Registered User
Posts: 99
Joined: Sun Apr 07, 2002 3:09 am

How to go about a switchable area in the topic

Post by Night4554 »

Basically I want to use the quick reply mod and make it so people can choose whether or not to see it.

I know I will need to make a sql db change to save their option, and i know i will need to make some kind of marker to show the area switched on and off, but other than that, i'm pretty lost.

Any ideas for where to progress to?
bobman38
Registered User
Posts: 39
Joined: Mon Jul 01, 2002 1:57 pm
Contact:

don't

Post by bobman38 »

the good idea (in my opinion) would be not to have this. I bet no one elese would want this and that no-one would want to take the time to make this. this is a bad idea (in my opinion)
:D bobman38
Image
phpBBFM!!!!

8O :D :) :( :o :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow:
nexialys
Registered User
Posts: 209
Joined: Tue May 21, 2002 1:26 pm
Location: Québec, between sky and hell...
Contact:

Post by nexialys »

another sql entry would make it, in the user's pref table:

"see quick reply" y/n

so when viewtopic is called, the pref is called too:

"if (see quick reply) == yes"
show it...
else, show nothing...

:):)
-=nexia=-

i'm not god, i'm a nexialist... god is perfect.. i try to make it weak.
nexialys
Registered User
Posts: 209
Joined: Tue May 21, 2002 1:26 pm
Location: Québec, between sky and hell...
Contact:

Re: don't

Post by nexialys »

bobman38 wrote: the good idea (in my opinion) would be not to have this. I bet no one elese would want this and that no-one would want to take the time to make this. this is a bad idea (in my opinion)


hey, please, keep that kind of kiddy opinion for yourself... you're not the center of this website, everyone have it's opinion and is free to ask...

the more everyone ask, the more we add features that have a good impact on that forum...

the more stupid comments like that are made, the more we see guys abandon our work because they think we're impossible to live with.

please, consider you're not god, or go away and start your own church.

-=nexia.. in a particular mood!=-
-=nexia=-

i'm not god, i'm a nexialist... god is perfect.. i try to make it weak.
Night4554
Registered User
Posts: 99
Joined: Sun Apr 07, 2002 3:09 am

Post by Night4554 »

I hate to bother people, but this is the hardest part for me, could someone write a quick SQL command that would give me an appropriate new data table thing :)
nexialys
Registered User
Posts: 209
Joined: Tue May 21, 2002 1:26 pm
Location: Québec, between sky and hell...
Contact:

Post by nexialys »

i will look at this by tomorrow...

it will be easy btw, just add a field in the user's table, i will use a mod that already do this, the Gender Mod... it add three settings, i will add only two..:):)

for the view_topic, easy too... once it's done in the user's setting, just read the config "$userdata['view_quick_reply']" ... :)

just modifying this will give you the entire mod you wish to have... ! :idea:
-=nexia=-

i'm not god, i'm a nexialist... god is perfect.. i try to make it weak.
Brandons
I am too lazy to register

Post by Brandons »

moved from mod dev to mod author support
Post Reply

Return to “[2.0.x] MOD Writers Discussion”