inherit
8275
0
Apr 8, 2024 11:05:50 GMT -8
M³
SF 49ers
2,120
March 2003
madmastermind
|
Post by M³ on Apr 11, 2013 12:54:04 GMT -8
Hey there, How do I obtain the look of the arrows up and down in the image below? I like that.
|
|
inherit
(??_?)
181912
0
1
Jul 6, 2015 20:35:17 GMT -8
CheatAreZee
56,804
March 2005
zyvoloski
Ricky's Mini-Profile
|
Post by CheatAreZee on Apr 11, 2013 13:01:28 GMT -8
Hi M³, If you want to add that to your forum, follow these instructions: Visit your admin panel, then navigate to Themes > Layout Templates. Next, click into the "Thread" template. On the next page, click on the "Post List" tab and look for the following around line 32: {if $[post.edited]} <div class="edited_by"><span class="italic">Last Edit:</span> $[post.edited.date] by $[post.edited.by_user]{if $[post.edited.reason]}: $[post.edited.reason]{/if}</div> {/if} Just above this code, paste in the following: <div class="edited_by"><a onclick="scroll(0,0);">Up!</a> | <a href="#bottom" onclick="scroll(0,0);">Down!</a></div> With that added, click into the "Quick Reply" tab and add the following at the very bottom of the code listed there: <a id="bottom"></a> Once those are in place, save the changes. With those in place, you should see the up and down links like you do in the v3 theme here on the support forum
|
|
inherit
149261
0
Sept 16, 2021 11:38:38 GMT -8
Chrissie
236
November 2009
isaacthered
|
Post by Chrissie on Apr 11, 2013 14:50:51 GMT -8
Brilliant Ricky Not sure if I've done something wrong though, but it seems to have wiped out the "hide staff edit's" plug in
|
|
#eb7100
33409
0
1
Apr 14, 2024 15:59:10 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Apr 11, 2013 14:52:57 GMT -8
Brilliant Ricky Not sure if I've done something wrong though, but it seems to have wiped out the "hide staff edit's" plug in The plugin likely depends on certain HTML to be present, and thus breaks when two divs with the class edited_by are present in the same location. Can you link me to the plugin in question?
|
|
inherit
149261
0
Sept 16, 2021 11:38:38 GMT -8
Chrissie
236
November 2009
isaacthered
|
Post by Chrissie on Apr 11, 2013 15:01:58 GMT -8
Brilliant Ricky Not sure if I've done something wrong though, but it seems to have wiped out the "hide staff edit's" plug in The plugin likely depends on certain HTML to be present, and thus breaks when two divs with the class edited_by are present in the same location. Can you link me to the plugin in question? It's this plug in Brian - support.proboards.com/thread/433502/plugin-hidden-staff-edits-beta
|
|
#eb7100
33409
0
1
Apr 14, 2024 15:59:10 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Apr 11, 2013 15:42:57 GMT -8
Based on the structure of the code, I believe what's happening is it's looking for the user's profile link in the edited message, which is always present normally. It tries to perform a function on it, but breaks because it can't find the value it's looking for since the profile link doesn't exist. If you have an example of a page where it isn't working I can confirm this for sure. I believe there's an alternative method of implementing the code Ricky posted as well that can prevent the plugin from breaking, if you're interested.
|
|
inherit
149261
0
Sept 16, 2021 11:38:38 GMT -8
Chrissie
236
November 2009
isaacthered
|
Post by Chrissie on Apr 12, 2013 6:53:38 GMT -8
|
|
#eb7100
33409
0
1
Apr 14, 2024 15:59:10 GMT -8
Brian
48,129
November 2004
smashmaster3
|
Post by Brian on Apr 12, 2013 13:40:06 GMT -8
Here's a slight modification to the code Ricky posted. This one plays well with the hidden staff edits plugin.
Just add the part in green above the part in regular text color, found in Structure > Layout Templates > Thread > Post List.
Now add the following to the bottom of Themes > Advanced Styles & CSS > Style Sheet.
You'll need to do this for every theme you want this modification on.
|
|
inherit
153300
0
Jun 19, 2019 17:10:20 GMT -8
Tressa
874
April 2010
tressa
|
Post by Tressa on Apr 12, 2013 15:11:06 GMT -8
Here's a slight modification to the code Ricky posted. This one plays well with the hidden staff edits plugin. Just add the part in green above the part in regular text color, found in Structure > Layout Templates > Thread > Post List. Now add the following to the bottom of Themes > Advanced Styles & CSS > Style Sheet. You'll need to do this for every theme you want this modification on. I had the same issues as Chrissie with the code and plugin conflict. After adding the bit in the "Quick Reply" template, this works great. Thank you!
|
|
inherit
149261
0
Sept 16, 2021 11:38:38 GMT -8
Chrissie
236
November 2009
isaacthered
|
Post by Chrissie on Apr 13, 2013 1:05:01 GMT -8
Brilliant, thank you so much Brian
|
|