phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Fix the blog mod by hyperion


 
Search this topic... | Search MOD Development... | Search Box
Register or Login to Post    Index » MOD Development  Previous TopicPrint TopicNext Topic
Author Message
vlad77
Board Member



Joined: 31 May 2015

Posts: 15


flag
PostPosted: Sun Nov 13, 2016 12:26 pm 
Post subject: Fix the blog mod by hyperion

It turned out that if a guest can post comments Blog Entry, and then he can edit all replicas in this blog, on a link at the end of http://saite.ru/forum/weblog_posting.php?mode=editreply&r=1234
digits at the end - id post
You can edit posts require authorization. Suffice it to log in go to this link, and edit the message before sending log out.
Code:
OPEN
weblog_posting.php

FIND
         // If the user isn't the original poster or a contributor or the weblog owner...

AFTER, ADD
         if ( !$userdata['session_logged_in'] )
         {
            weblog_message_die (GENERAL_ERROR, $lang['No_edit_replies']);
         }

If it is simple in line
if ( $reply_data['poster_id'] != $userdata['user_id'] && !$contributor && $weblog_data['weblog_id'] != $userdata['user_id'] && $userdata['session_logged_in'] )
remove
&& $userdata['session_logged_in']
the guests will be able to edit the guest posts
Back to top
dondino
Board Member



Joined: 09 Dec 2008

Posts: 144


flag
PostPosted: Sun Jan 15, 2017 11:26 pm 
Post subject: Re: Fix the blog mod by hyperion

Thanks for fixing this issue!!
keep up the good work for our beloved phpbb2 icon_smile.gif
Back to top
vlad77
Board Member



Joined: 31 May 2015

Posts: 15


flag
PostPosted: Fri Dec 08, 2017 11:00 am 
Post subject: Re: Fix the blog mod by hyperion

http://outshine.com/software/the-blog-mod/ is not working
MOD The Blog Mod



the_blog_mod_1_0_0.tar.gz
 Description:

Download
 Filename:  the_blog_mod_1_0_0.tar.gz
 Filesize:  228.47 KB
 Downloaded:  15 Time(s)

Back to top
vlad77
Board Member



Joined: 31 May 2015

Posts: 15


flag
PostPosted: Mon Dec 11, 2017 8:27 am 
Post subject: Re: Fix the blog mod by hyperion

Templates for the_blog_mod https://yadi.sk/d/YExZuiIS3QVzZL (~3,5MB)
Back to top
Display posts from previous:   
Register or Login to Post    Index » MOD Development  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0192 seconds using 18 queries. (SQL 0.0017 Parse 0.0025 Other 0.0151)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo