[RC] cBB Follower 1.0.1

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
Locked
User avatar
Theriddler1
Registered User
Posts: 440
Joined: Sat Aug 27, 2011 11:00 pm
Location: NL
Contact:

Re: [RC] cBB Follower 1.0.1

Post by Theriddler1 » Fri Mar 21, 2014 9:08 pm

canidev wrote:Hi,

In the current version is not possible but, I think that i will add this feature in the next version :)

Regards
Awesome thanks
Theriddler - Moderator @ phpBB.nl | phpBBservice.nl Team-member
ImageSupport Tools | Image My Extensions | buy me a beer Image

User avatar
Mathieu M.
Registered User
Posts: 166
Joined: Tue Nov 02, 2010 11:42 am
Location: France
Name: Mathieu
Contact:

Re: [RC] cBB Follower 1.0.1

Post by Mathieu M. » Mon Mar 24, 2014 4:19 am

Hello canidev,

Do you plan to update your cBB Chat, cBB Follower and cBB Blog MODs for phpBB 3.1 extensions soon ?


Thanks for your wonderful work ;)
Flarum.fr : French community for Flarum, a bulletin boards software next generation.

tol336
Registered User
Posts: 9
Joined: Sun Jul 22, 2007 7:55 am
Location: Russia

Re: [RC] cBB Follower 1.0.1

Post by tol336 » Sun Sep 21, 2014 5:56 pm

Hello! Good work!
But I found small bug.
follower.php have two U_NOTES with different values

Code: Select all

'U_NOTES'		=> ($user_notes_enabled && $auth->acl_getf_global('m_')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=notes&mode=user_notes&u=' . $user_id, true, $user->session_id) : '',

Code: Select all

		'U_NOTES'				=> "$user_action&mode=wall",
/subsilver2/template/follower/right_side_body.html generates the wrong link (such as /follower.php?u=132 instead of /mcp.php?i=notes&mode=user_notes&u=132) in the block

Code: Select all

<td style="text-align:{S_CONTENT_FLOW_BEGIN}"><strong>{WARNINGS}</strong><!-- IF U_NOTES or U_WARN --> [ <!-- IF U_NOTES --><a href="{U_NOTES}">{L_VIEW_NOTES}</a><!-- ENDIF --> <!-- IF U_WARN --><!-- IF U_NOTES --> | <!-- ENDIF --><a href="{U_WARN}">{L_WARN_USER}</a><!-- ENDIF --> ]<!-- ENDIF --></td>

Neubivljiv
Registered User
Posts: 76
Joined: Mon Jan 11, 2010 11:05 pm

Re: [RC] cBB Follower 1.0.1

Post by Neubivljiv » Fri Sep 26, 2014 9:57 pm

Hi,

this is really nice MOD. There is only one small flaw, which can be a serious. When a user follows a few regular members, he will be buried with emails. This can be a serious problem, and mostly against the anti-spam policies (email domain can be marked as a spammer and blacklisted).

Maybe a solution to this that there is a threshold for sending: send a maximum of 2 email, until the user visits the site. No need to spam a user with e-mails until he visit the forum.
Or simple option to setup the time between sending email notifications to individual users (for example, field "last_email_time" + 3600 * 6 => every six hours 1 email)

For example, if the user follows the 10 regular members, it can easily happen that he receives 20-50 emails per day. This should definitely be prevented.

Otherwise, the mode is excellent (and much better than other attempts to "clone" the social network or similiar).

User avatar
Meis2M
Translator
Posts: 756
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: [RC] cBB Follower 1.0.1

Post by Meis2M » Mon Oct 13, 2014 9:44 am

Hello

plz convert this mod for phpBB 3.1 as an extension.

User avatar
Theriddler1
Registered User
Posts: 440
Joined: Sat Aug 27, 2011 11:00 pm
Location: NL
Contact:

Re: [RC] cBB Follower 1.0.1

Post by Theriddler1 » Fri Nov 28, 2014 6:56 pm

When someone mention another user within a post, the other user get email or pm or both

in the pm they recieve:

Code: Select all

Hi username1,

You are receiving this notice because you have been mentioned
by username2 in a comment or message.
but where can username1 see where he or she has been mentioned in which post?

is it possible that there can be a link added to the post they have been mentioned.

Edit: nevermind it's the red eye on the banner

777Firebrand777
Registered User
Posts: 91
Joined: Sat Oct 27, 2012 5:03 pm
Contact:

Re: [RC] cBB Follower 1.0.1

Post by 777Firebrand777 » Tue Jan 20, 2015 12:38 pm

Currently the mod is not compatible with 3.0.12. There are installation errors.

Code: Select all

styles/prosilver/template/posting_topic_review.html

Find
						<td valign="top" nowrap="nowrap">&nbsp;<!-- IF topic_review_row.POSTER_QUOTE and topic_review_row.DECODED_MESSAGE --><a href="#" onclick="addquote({topic_review_row.POST_ID},'{topic_review_row.POSTER_QUOTE}'); return false;">{QUOTE_IMG}</a><!-- ENDIF --></td>
Add After
						<!-- IF topic_review_row.MENTION_BUTTON --><td valign="top" nowrap="nowrap">{topic_review_row.MENTION_BUTTON}</td><!-- ENDIF -->
The Find specified by the MOD could not be found

Code: Select all

styles/prosilver/template/viewtopic_body.html
Find
<b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b>
Replace With
<b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b> {postrow.AUTHOR_FOLLOW_NAME}
The Find specified by the MOD could not be found
Find
<span class="postdetails">
Add Before
				<!-- IF postrow.S_FOLLOW_BUTTON --><div style="text-align: center">{postrow.S_FOLLOW_BUTTON}</div><!-- ENDIF -->
The Find specified by the MOD could not be found
styles/prosilver/template/posting_topic_review.html
styles/prosilver/template/viewtopic_body.html


Somebody already mentioned this in the topic, but I did not understood the reply.

Also, does this mod uses jQuery? Because the toolbar on the top of the page is not appearing.

Anybody can help?

User avatar
Raul [ThE KuKa]
Jr. Extension Validator
Posts: 3760
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [RC] cBB Follower 1.0.1

Post by Raul [ThE KuKa] » Tue Jan 20, 2015 2:20 pm

These lines are for subsilver2 style, not prosilver style.
If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
phpBB International Support Team (Spanish - Español) :flag_es: Online Since 2003
🎨phpBB Professional Premium Themes🔥
Author Translations (Spanish - Spain) :two_hearts:

:warning: I don't support those without the copyright Spanish translation. :warning:

User avatar
admice
Registered User
Posts: 5
Joined: Mon Nov 09, 2015 1:58 pm

Re: [RC] cBB Follower 1.0.1

Post by admice » Thu Nov 12, 2015 9:31 pm

Hi! Great MOD, but i experience a strange bug ((
I can mention well users with latin names, both lowercase or not (mice and Mice al good), also i can mention user with lowercase cyrillic names (мышь). But if user name starts with uppercase cyrillic (Мышь), @username isn't parsed as link ((

User avatar
canidev
Registered User
Posts: 208
Joined: Sun Jun 26, 2011 5:40 pm
Location: Spain
Contact:

Re: [RC] cBB Follower 1.0.1

Post by canidev » Thu Nov 12, 2015 9:55 pm

admice wrote:Hi! Great MOD, but i experience a strange bug ((
I can mention well users with latin names, both lowercase or not (mice and Mice al good), also i can mention user with lowercase cyrillic names (мышь). But if user name starts with uppercase cyrillic (Мышь), @username isn't parsed as link ((
I will check this problem in future versions.

User avatar
admice
Registered User
Posts: 5
Joined: Mon Nov 09, 2015 1:58 pm

Re: [RC] cBB Follower 1.0.1

Post by admice » Fri Nov 13, 2015 9:40 am

Sound's great, but it seems to be urgent, forum is near to become production.
It's strange, that tags work well with Capital-started tags (

Maybe, you could tell me, where should i dig in your code or how to test the issue..?

User avatar
canidev
Registered User
Posts: 208
Joined: Sun Jun 26, 2011 5:40 pm
Location: Spain
Contact:

Re: [RC] cBB Follower 1.0.1

Post by canidev » Fri Nov 13, 2015 9:02 pm

Ok, try with this (I did not tested this solution to 100%) :

1. Open /follower/includes/follower.php
2. Find:

Code: Select all

$text = preg_replace('#((?:^|\s)+@)([^<>\s]+)#e', "'\$1' . strtolower('\$2')", $text);
3.Replace with:

Code: Select all

$text = preg_replace('#((?:^|\s)+@)([^<>\s]+)#e', "'\$1' . utf8_strtolower('\$2')", $text);
4. Find:

Code: Select all

				$find = array(
					'@' . strtolower($row['user_follow_name']),
					'@[' . $row['username'] . ']',
					'@[' . $row['username_clean'] . ']',
				);
5. Replace with:

Code: Select all

				$find = array(
					'@' . utf8_strtolower($row['user_follow_name']),
					'@[' . utf8_strtolower($row['username']) . ']',
					'@[' . utf8_strtolower($row['username_clean']) . ']',
				);

User avatar
admice
Registered User
Posts: 5
Joined: Mon Nov 09, 2015 1:58 pm

Re: [RC] cBB Follower 1.0.1

Post by admice » Fri Nov 13, 2015 9:30 pm

Wow, maan! Thank you so much!
Solved!

FOXBROOK
Registered User
Posts: 7
Joined: Fri Jun 20, 2014 2:44 am

Re: [RC] cBB Follower 1.0.1

Post by FOXBROOK » Mon Nov 16, 2015 9:18 am

Hello, I want to start off by saying this is a fantastic MOD.
I installed it on my board which is running a acidtech theme (based off subsilver2). I manually installed it because of the different theme. So I'm currently testing it and the follower_header doesn't appear on my overall_header after inserting the code.
Also I'm not able to post anything to the wall. I hit "new comment" and nothing pops up. I'm not a pro with installations but I'm able to follow instructions if you have any ideas. Thanks

User avatar
admice
Registered User
Posts: 5
Joined: Mon Nov 09, 2015 1:58 pm

Re: [RC] cBB Follower 1.0.1

Post by admice » Sun Nov 29, 2015 6:56 pm

Hi! Just got the bug:
when i start typing @... - memberlist appears in the number of two. One below another with some different margin, so both can be seen.

Any ideas, what may cause that?

Locked

Return to “[3.0.x] MODs in Development”

Who is online

Users browsing this forum: No registered users and 18 guests

cron