- You are here:
- Main › Forum › Application Support
Сompatibility Follower with Hide users details mod
5 posts
• Page 1 of 1
- Citromon
- Posts: 60
- Joined: Tue Apr 17, 2012 12:36 pm
- Location: Minsk, Belarus
Thu May 17, 2012 4:16 pm • via Web
Thank you.
Please help me solve the problem of compatibility phpBB Follower with Hide user detailes MOD.
http://www.phpbb.com/customise/db/mod/h ... r_details/
The problem is the last editing file viewtopic_body.html.
I would like the Follower button to be hidden and displayed after the disclosure of information.
Can you help?
Please help me solve the problem of compatibility phpBB Follower with Hide user detailes MOD.
http://www.phpbb.com/customise/db/mod/h ... r_details/
The problem is the last editing file viewtopic_body.html.
I would like the Follower button to be hidden and displayed after the disclosure of information.
Can you help?
- IvanPF
- Administrator
- Posts: 2029
- Joined: Fri Jun 17, 2011 12:15 am
- Location: España (Spain)
Thu May 17, 2012 7:13 pm • via Web
Hi,
In the last change of the mod "Hide Users details" in viewtopic_body.html find:
And replace with:
I think that's what your looking for.
In the last change of the mod "Hide Users details" in viewtopic_body.html find:
- Code: Select all
<!-- BEGIN custom_fields -->
<strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}<br />
<!-- END custom_fields -->
</dt>
<!-- ENDIF -->
And replace with:
- Code: Select all
<!-- BEGIN custom_fields -->
<strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}<br />
<!-- END custom_fields -->
</dt>
<!-- IF postrow.S_CAN_FOLLOW -->
<dd style="text-align: center">
<a href="#!follow/{postrow.POSTER_ID}" class="fwbutton <!-- IF postrow.S_IS_FOLLOWING -->following<!-- ELSE -->follow<!-- ENDIF --> js-follow-{postrow.POSTER_ID}">
<span class="icon"></span>
<span class="follow-text">{L_FOLLOW}</span>
<span class="unfollow-text">{L_UNFOLLOW}</span>
<span class="following-text">{L_FOLLOWING}</span>
</a>
</dd>
<dd> </dd>
<!-- ENDIF -->
<!-- ENDIF -->
I think that's what your looking for.
- Citromon
- Posts: 60
- Joined: Tue Apr 17, 2012 12:36 pm
- Location: Minsk, Belarus
Thu May 17, 2012 8:46 pm • via Web
Parse error: syntax error, unexpected '}' in Z:\home\standart.by\www\includes\template.php(230) : eval()'d code on line 259
Can you upload view_topic.html please ?
Can you upload view_topic.html please ?
- Citromon
- Posts: 60
- Joined: Tue Apr 17, 2012 12:36 pm
- Location: Minsk, Belarus
- IvanPF
- Administrator
- Posts: 2029
- Joined: Fri Jun 17, 2011 12:15 am
- Location: España (Spain)
Sat May 19, 2012 5:55 pm • via Web
Hi,
The @citromon appears because the follow name and user name can be different.
To hide it, find and delete this code in "viewtopic_body.html":
To put the "follow" button inside the dropdown:
- Find:
after add:
The @citromon appears because the follow name and user name can be different.
To hide it, find and delete this code in "viewtopic_body.html":
- Code: Select all
{postrow.AUTHOR_FOLLOW_NAME}
To put the "follow" button inside the dropdown:
- Find:
- Code: Select all
<!-- BEGIN custom_fields -->
<strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}<br />
<!-- END custom_fields -->
after add:
- Code: Select all
<!-- IF postrow.S_CAN_FOLLOW -->
<dd style="text-align: center">
<a href="#!follow/{postrow.POSTER_ID}" class="fwbutton <!-- IF postrow.S_IS_FOLLOWING -->following<!-- ELSE -->follow<!-- ENDIF --> js-follow-{postrow.POSTER_ID}">
<span class="icon"></span>
<span class="follow-text">{L_FOLLOW}</span>
<span class="unfollow-text">{L_UNFOLLOW}</span>
<span class="following-text">{L_FOLLOWING}</span>
</a>
</dd>
<dd> </dd>
<!-- ENDIF -->
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests
- External Links
- phpBB Official
- phpBB Official (Spanish)
- Raul Arroyo Monzo
- PasionReef
- About CaniDev
- Terms of use
- Privacy Policy
- About Us
- Contact
- © 2011-2024 CaniDev