Author |
Message |
dad7732
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Mar 18, 2007
Posts: 1242
|
Posted:
Mon Oct 19, 2009 9:34 pm |
|
Like this block a lot for my support site. However, I would like to default it to SHOW rather than HIDE, how? I changed a few things where available in the block but still shows only the default hide (3). Yes, I can change the "3" to "25" and it will always show the 25 no matter whether hide or show.
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Oct 20, 2009 12:29 am |
|
Edit block file.
FIND:
$("#main_topic").siblings(".child_topic").hide();
CHANGE TO:
$("#main_topic").siblings(".child_topic").show(); |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Oct 20, 2009 7:04 am |
|
Thanks, thought it would be in the user-selectable configurations at the top, didn't think (as usual) to look past "don't edit below"
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Oct 20, 2009 7:28 am |
|
Another problem creeped in ...
If I disable "Show top posters", left and right blocks disappear.
Also, if I choose to show top posters, how do I eliminate "Anonymous" as I don't allow anons to post. And yes, anons posting is disabled in the general prefs.
Update: Found how to remove "Anonymous" by using the skip users feature ...
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
Site Admin
![](modules/Forums/images/avatars/Dilbert/Dilbert_-_Dogbert_King.gif)
Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Tue Oct 20, 2009 10:06 am |
|
dad7732, can you make a mantis issue for this? |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Oct 20, 2009 11:13 am |
|
Never logged in to Mantis, don't even remember the access, etc. or how to enter an issue. Guess I could wing it if I can get in.
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Oct 20, 2009 12:09 pm |
|
dad7732, goto the login screen and request a new password ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Oct 20, 2009 12:36 pm |
|
Hmmm, had a link already bookmarked .. guess it's the right "mantis" .. just entered the issue.
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Oct 20, 2009 1:24 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Oct 20, 2009 2:30 pm |
|
Can't see how to edit the submission, maybe I can't .. However ..
Enter 2
Should be
Enter: 0
So that it = none = no posters are shown. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Oct 20, 2009 3:46 pm |
|
I don't think the new guys can edit yet. I'll take care of it. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Oct 20, 2009 4:20 pm |
|
That's ok I added the typo correction in as a note on that issue ID
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
NeapolitanWorld
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/629afee64adaa50fd6d95.jpg)
Joined: Nov 06, 2005
Posts: 339
Location: Los Angeles, USA
|
Posted:
Wed Oct 21, 2009 8:36 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Oct 21, 2009 8:52 am |
|
Changing hide() to show() will still allow the user to collapse if so desired. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Oct 21, 2009 9:15 am |
|
NeapolitanWorld, that won't work with the latest block because i rewrote it to use jQuery. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Oct 21, 2009 9:26 am |
|
Palbin wrote: | NeapolitanWorld, that won't work with the latest block because i rewrote it to use jQuery. |
... and a mighty fine job you did at that!!!
![Cheers](modules/Forums/images/smiles/cheers.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 9:24 pm |
|
Thanks. I am tracking down the "Top Poster" problem now. There appears to be an unclosed div tag. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Oct 24, 2009 9:40 pm |
|
Find line 195:
Code:
$content .= '<div style="text-align: center"><a href="' . $backendForumsXML . '" title="' . bfcBACKENDTITLE . '"><img src="images/blocks/xmlicon.gif" alt="" border="0" /></a>';
|
Replace with:
Code:
$content .= '<div style="text-align: center"><a href="' . $backendForumsXML . '" title="' . bfcBACKENDTITLE . '"><img src="images/blocks/xmlicon.gif" alt="" border="0" /></a></div><br />';
|
Find Line 203:
Code:
$content .= '<br /><br /><span style="font-weight: bold; text-decoration: underline;">' . bfcTOPPOSTERS . '</span><br /><br /><table class="outer" cellpadding="0"'
|
Replace with:
Code:
$content .= '<div style="text-align: center"><span style="font-weight: bold; text-decoration: underline;">' . bfcTOPPOSTERS . '</span><br /><br /><table class="outer" cellpadding="0"'
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 7:32 am |
|
Thanks, will do the edit .. but .. my users like the Top Posters now so I'll keep it like that after all ..
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 7:45 am |
|
Made the edit and changing "show top posters" to "0=none" still causes the side blocks to disappear.
Update: The OTHER top poster configuration lines also have to be changed to "none" or "0" then it works ok.
Cheers |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 3:25 pm |
|
I'm not seeing it so I'm not sure what the problem is. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 3:41 pm |
|
Can anyone else reproduce this? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 3:43 pm |
|
What theme are you using? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 25, 2009 4:07 pm |
|
The problem was when selecting 0 = none for ShowTopPosters the side blocks would disappear.
Theme=RavenIce |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|