Commit Graph

4 Commits

Author SHA1 Message Date
Parziphal
444af49df4 Small unimportant detail.
The length of the "position" column was 255, when it's actually 1. This data isn't used anyway.
2014-01-01 15:35:43 -05:00
Parziphal
12e3a57053 more changes related to advertisements.
added position to advertisements. with it, one can choose to either show an horizontal add only at top, bottom or both.
removed can_see_ads check from AdvertisementsHelper::print_advertisement() because it's already checked before calling it.
horizontal-bottom ads in post#index are centered.
removed "Reset hit count" checkbox in ads#edit.
Width and Height in ads form are now "number" fields.
Width and Height must now be set also for "Html" ads.
made ads#show a little nicer.
ads#create and ads#update redirect to ads#index if success.
some other related changes.

made ad#show a little nicer
2013-12-05 15:09:26 -05:00
Parziphal
d499dd7844 updated cached schema for ads 2013-12-02 09:25:12 -05:00
Parziphal
0ab3ef62b8 Added database tables for advertisements, controller is still missing.
Added IP columns to dmails, forum_posts, comments.
2013-11-19 10:54:12 -05:00