Commit Graph

119 Commits

Author SHA1 Message Date
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
ff28733e94 moved ad in post#index below pagination 2013-12-05 09:28:37 -05:00
Parziphal
e2533565bc more changes to advertisements
added two new ad spots, bottom of post#index and post#show.
spots can be selectively activated in the booru config. by default,
only original spots are active.
2013-12-04 15:19:11 -05:00
Parziphal
781ecab67c added link to Post->Moderate 2013-12-02 19:23:42 -05:00
Parziphal
cd55735461 using jpeg's width and height in case sample's size isn't available.
this will fix the error in post#show of the image having 0 width and height
(thus not showing) if the image doesn't have a sample.
2013-12-02 10:59:03 -05:00
Parziphal
322e190a57 removed br after ad 2013-12-02 10:03:06 -05:00
Parziphal
8de2c5ed67 fixed display error in ads form 2013-12-02 09:43:52 -05:00
Parziphal
bfd9978032 added html option to advertisements 2013-12-01 21:26:35 -05:00
Parziphal
fcb105ed05 fixed fullMessages 2013-12-01 12:20:16 -05:00
Parziphal
92494e80d5 enabled Advertisements 2013-11-21 14:08:11 -05:00
Parziphal
a04e2e590c use jQuery's 'on' method 2013-11-21 14:03:07 -05:00
Parziphal
3f70df54ee cached main menu 2013-11-21 14:02:16 -05:00
Parziphal
e26647dd41 removed post/referral partial 2013-11-21 14:00:42 -05:00
Parziphal
0375132f0b added page title to user#home 2013-11-20 15:59:13 -05:00
Parziphal
3fd8924f0e return to corresponding forum page after editing a reply (#19) 2013-11-17 01:44:01 -05:00
Parziphal
c849ad1da7 enabled ga code 2013-11-13 15:21:28 -05:00
Parziphal
0545bde1a0 updating 2013-11-08 11:37:29 -05:00
Parziphal
e6dab194cd update to news-ticker 2013-10-27 11:02:35 -05:00
Parziphal
13227f0bca added files 2013-10-26 18:06:58 -05:00