Commit Graph

207 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
11d4f3772e enabled hash-key on cache 2013-12-03 22:51:09 -05:00
Parziphal
baecd199a0 locale for post#moderate in static#more 2013-12-03 16:00:36 -05:00
Parziphal
781ecab67c added link to Post->Moderate 2013-12-02 19:23:42 -05:00
Parziphal
60e4a1229f moved Dmails per-hour limit to config.
also fixed error that caused users to be able to send limit + 1 dmails.
2013-12-02 17:29:26 -05:00
Parziphal
c75071b77c fixed error in #diff 2013-12-02 16:26:13 -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
d499dd7844 updated cached schema for ads 2013-12-02 09:25:12 -05:00
Parziphal
e7771f8667 fixed error on redirection in update action 2013-12-01 21:27:23 -05:00
Parziphal
2218817e42 updated readme 2013-12-01 21:26:48 -05:00
Parziphal
bfd9978032 added html option to advertisements 2013-12-01 21:26:35 -05:00
Parziphal
ae5952fc8c updated readme 2013-12-01 15:15:29 -05:00
Parziphal
fcb105ed05 fixed fullMessages 2013-12-01 12:20:16 -05:00
Parziphal
ffe6a41300 fixed AdvertisementsController filters 2013-11-29 18:13:31 -05:00
Parziphal
92494e80d5 enabled Advertisements 2013-11-21 14:08:11 -05:00
Parziphal
248d95a4a0 reverted Post.resize_image to original 2013-11-21 14:04:29 -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
fb7177093b merged dev 2013-11-19 15:16:56 -05:00
Parziphal
bfd32aed4c updated readme 2013-11-19 12:39:51 -05:00
Parziphal
8d1c326f32 fix on cache fetch 2013-11-19 12:34:50 -05:00
Parziphal
799f1d0a5c enabled more cache-related code 2013-11-19 12:31:38 -05:00
Parziphal
f3934387cb added default_guest_name option 2013-11-19 11:40:30 -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
Parziphal
ee3b6c37ac Advertisement + schema 2013-11-17 23:33:10 -05:00
Parziphal
3fd8924f0e return to corresponding forum page after editing a reply (#19) 2013-11-17 01:44:01 -05:00
Parziphal
69b6c0cbcd fix tag sort upon save (#25) 2013-11-17 01:24:38 -05:00
Parziphal
c849ad1da7 enabled ga code 2013-11-13 15:21:28 -05:00
Parziphal
41acd01798 enabled ga code 2013-11-13 15:18:22 -05:00
Parziphal
fd1b89bace fixed Post::get_sample_width/height 2013-11-13 12:55:23 -05:00
Parziphal
3dd3c8c81f callbacks, set_avatar fix 2013-11-13 12:53:33 -05:00
Parziphal
6fc7d4c02b more updating 2013-11-08 11:47:26 -05:00
Parziphal
fdb44ed398 updating 2013-11-08 11:42:19 -05:00
Parziphal
af73304164 updating 2013-11-08 11:40:39 -05:00
Parziphal
0545bde1a0 updating 2013-11-08 11:37:29 -05:00
Parziphal
1ae6c3183b fixed Tag::mass_edit 2013-11-05 11:01:32 -05:00
Parziphal
a6141ad7a7 updated readme 2013-11-04 00:29:25 -05:00
Parziphal
1e39f255e9 updated readme again 2013-11-03 23:50:27 -05:00
Parziphal
c9d2ccb750 updated readme 2013-11-03 23:47:29 -05:00
Parziphal
5fdac2c062 fixed scripts 2013-11-03 23:45:13 -05:00
Parziphal
740dd2a1f0 no more create-project 2013-11-03 23:39:24 -05:00
Parziphal
63c49877e9 test 2013-11-03 15:36:57 -05:00
Parziphal
671dccc07c sort cached_tags before saving 2013-11-03 14:25:22 -05:00
Parziphal
734c9a2e59 fixed dmails 2013-11-03 13:34:02 -05:00