PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Sun Nov 27, 2005 12:01 am Reply with quote Back to top

First, Rave, you've done a greate job, as usual! Thanks!!!

Trying to implement it in my site, I got some suggestions from fellow admins:

1. Having the option to disable the rotating line.
2. Showing more than 1 last message when block is closed.
3. Changing the "show/hide" text to something more interactive. Maybe a small gfx that will change on mouse hover? It seems that even expert users do not understand this button can do something...
4. Showing last posted message according to the date/time the first message was sent, and not upon the last comment date/time.

Would appreciate to know if these could be somehow implemented...

TIA and keep the good work!
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Nov 27, 2005 12:39 am Reply with quote Back to top

Good suggestions. I will add these to my "to do" list Laughing

#4 doesn't feel right to me or I'm not understanding it. Why would you not want to know the last post date?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Sun Nov 27, 2005 1:40 am Reply with quote Back to top

Thanks, Raven. I'll be a bit pushy and ask when do you think it could be implemented?

Re #4 - let's assume you have a news site, and you want to show the news according to their date/time accurance regardless of the replies' date/time. You'll want to show the posts according to the first post's date/time of creation.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Nov 27, 2005 1:49 am Reply with quote Back to top

ring_c wrote:
Thanks, Raven. I'll be a bit pushy and ask when do you think it could be implemented?

No ETA. If you'd like me to prioritize it, then you can contract with me.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Sun Nov 27, 2005 8:29 am Reply with quote Back to top

Also, there seem to be a bug in the last public version (2.2.0). If I have this line:
$showJumpBox = FALSE;

I still see on jump box, while the other is gone.

Any fix avail. ?
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Nov 27, 2005 8:42 am Reply with quote Back to top

ring_c wrote:
Also, there seem to be a bug in the last public version (2.2.0). If I have this line:
$showJumpBox = FALSE;

I still see on jump box, while the other is gone.

Any fix avail. ?

The one remaining is NOT the forum jump box. It's the FUNCTION jump box.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Sun Nov 27, 2005 8:49 am Reply with quote Back to top

Quote:

The one remaining is NOT the forum jump box. It's the FUNCTION jump box.

And there's no "header" way to hide it?
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Nov 27, 2005 9:03 am Reply with quote Back to top

I never said that. I'll be releasing a new version soon. It will be fixed. ITMT, you can do this.

Edit blocks/block-ForumsCollapsing.php
- Using an editor of your choice, change all occurences of $showJumpBox to $showJumpBoxes.

- Then find
Code:
$content .= <<<_JS_
<center><table align="center" width="100%"><tr><td align="center" ><b>$bfcJumpFunction</b></td><td align="center"><b>$bfcJumpForum</b></td></tr>
               <tr><td align="center">$links</td><td align="center">$boxstring</td></tr>
         </table>
<br />
<table><tr><th height="25" align="center" nowrap width="49%"><font color="$textcolor1"><strong><i>[$bfcForum]</i>&nbsp;$bfcTopic</strong></font></th><th width="3%" align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcReplies&nbsp;</strong></font></th><th width="17%" align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcAuthor&nbsp;</strong></font></th><th width="3%" align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcViews&nbsp;</strong></font></th><th align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcLastPost&nbsp;</strong></font></th></tr></table></center>
_JS_;

And change it to
Code:

if ($showJumpBoxes) $content .= <<<_JS_
<center><table align="center" width="100%"><tr><td align="center" ><b>$bfcJumpFunction</b></td><td align="center"><b>$bfcJumpForum</b></td></tr>
               <tr><td align="center">$links</td><td align="center">$boxstring</td></tr>
         </table>
<br />
_JS_;

$content .= <<<_JS_
<table><tr><th height="25" align="center" nowrap width="49%"><font color="$textcolor1"><strong><i>[$bfcForum]</i>&nbsp;$bfcTopic</strong></font></th><th width="3%" align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcReplies&nbsp;</strong></font></th><th width="17%" align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcAuthor&nbsp;</strong></font></th><th width="3%" align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcViews&nbsp;</strong></font></th><th align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcLastPost&nbsp;</strong></font></th></tr></table></center>
_JS_;


Last edited by Raven on Mon Nov 28, 2005 10:05 am; edited 1 time in total
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Sun Nov 27, 2005 9:23 am Reply with quote Back to top

Thanks alot, Raven, but it doesn't seem to work Sad

I'm getting this error:

Code:
Parse error: parse error, unexpected T_SL in /home/hagigim/public_html/blocks/block-ForumsCollapsing.php on line 246


Last edited by ring_c on Sun Nov 27, 2005 9:28 am; edited 1 time in total
View user's profile Send private message Visit poster's website
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Sun Nov 27, 2005 9:26 am Reply with quote Back to top

The line number 246 is:

if ($showJumpBoxes) $content .= <<<_JS_
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Nov 27, 2005 9:27 am Reply with quote Back to top

It works here so it must have to do with the new release changes. I guess you'll just have to be patient a while longer Wink
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Sun Nov 27, 2005 9:29 am Reply with quote Back to top

Raven wrote:
It works here so it must have to do with the new release changes. I guess you'll just have to be patient a while longer Wink

Ok, thanks. and I won't push my luck asking when you think it'll be due. Wink
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Nov 27, 2005 9:30 am Reply with quote Back to top

Oh, that's different. That means that your closing _JS_; is NOT left justified. It must be on a separate line, left justified, and NO white space after it. It's a PHP syntactical requirement.


Last edited by Raven on Sun Nov 27, 2005 9:47 am; edited 1 time in total
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Sun Nov 27, 2005 9:39 am Reply with quote Back to top

Raven wrote:
Oh, that's different. That means that your closing _JS_; is NOT left justified. It must be on a separate line and left justified. It's a PHP syntactical requirement.

Could you repeat it slowly and in plain English, please? Wink

Anwyay, here's the section's code:
Code:
if ($showJumpBoxes) $content .= <<<_JS_
<center><table align="center" width="100%"><tr><td align="center" ><b>$bfcJumpFunction</b></td><td align="center"><b>$bfcJumpForum</b></td></tr>
               <tr><td align="center">$links</td><td align="center">$boxstring</td></tr>
         </table>
<br />
_JS_;

$content .= <<<_JS_
<table><tr><th height="25" align="center" nowrap width="49%"><font color="$textcolor1"><strong><i>[$bfcForum]</i>&nbsp;$bfcTopic</strong></font></th><th width="3%" align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcReplies&nbsp;</strong></font></th><th width="17%" align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcAuthor&nbsp;</strong></font></th><th width="3%" align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcViews&nbsp;</strong></font></th><th align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcLastPost&nbsp;</strong></font></th></tr></table></center>
_JS_;
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Nov 27, 2005 9:46 am Reply with quote Back to top

See that last line _JS_; ? Make sure that it is left justified and that there is NO whitespace after it.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Sun Nov 27, 2005 9:49 am Reply with quote Back to top

It IS left justify, but there's a blank line between this line and the other. like this:

_JS_;

$result = $db->sql_query

Is that wrong too?
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Nov 27, 2005 9:54 am Reply with quote Back to top

No. But hidden characters often lurk after the closing ;. If there are none then you'll just have to wait, but I suspect there is something after the ;.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Sun Nov 27, 2005 11:39 am Reply with quote Back to top

No, there's nothing. Sad
Here's EditPLUS' screen capture:

Image
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Nov 27, 2005 3:00 pm Reply with quote Back to top

Did you change $showJumpBox to $showJumpBoxes at the top? Also, remove the space after the _JS_ on the first line, just for good measure.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Mon Nov 28, 2005 12:07 am Reply with quote Back to top

Quote:

Did you change $showJumpBox to $showJumpBoxes at the top?

Yes, Sir.

Quote:

Also, remove the space after the _JS_ on the first line, just for good measure.

You're a magician, my friend!
Who would think this little space would create so much fuss? Wink

Thanks ALOT!!!!
View user's profile Send private message Visit poster's website
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Mon Nov 28, 2005 12:32 am Reply with quote Back to top

Raven, I was trying to remove the underline from the usernames (poster and last comment sender) but couldn't find the relevant <u> and </u> tags.
Could you direct me somehow please?
View user's profile Send private message Visit poster's website
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Mon Nov 28, 2005 3:40 am Reply with quote Back to top

Dear Raven, I've just noticed that the change made the rubric's titles disappear.
Also, I love the new version you're using which removes completely the first rotating line. is there any chance to get it?
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Nov 28, 2005 9:23 am Reply with quote Back to top

I have no idea what "rubric" is.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
ring_c
Involved
Involved


Joined: Dec 28, 2003
Posts: 276
Location: Israel

PostPosted: Mon Nov 28, 2005 9:51 am Reply with quote Back to top

This is how it looks like.
Please disregard the Hebrew characters. you would see there're no titles (forum name, poster, last comment date etc...)

Image
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Nov 28, 2005 10:04 am Reply with quote Back to top

Modify the code to read
Code:
if ($showJumpBoxes) $content .= <<<_JS_
<center><table align="center" width="100%"><tr><td align="center" ><b>$bfcJumpFunction</b></td><td align="center"><b>$bfcJumpForum</b></td></tr>
               <tr><td align="center">$links</td><td align="center">$boxstring</td></tr>
         </table>
<br />
_JS_;

$content .= <<<_JS_
<table><tr><th height="25" align="center" nowrap width="49%"><font color="$textcolor1"><strong><i>[$bfcForum]</i>&nbsp;$bfcTopic</strong></font></th><th width="3%" align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcReplies&nbsp;</strong></font></th><th width="17%" align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcAuthor&nbsp;</strong></font></th><th width="3%" align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcViews&nbsp;</strong></font></th><th align="center" nowrap><font color="$textcolor1"><strong>&nbsp;$bfcLastPost&nbsp;</strong></font></th></tr></table></center>
_JS_;


Make sure there ar no spaces after any of the _JS_ or _JS_;

I have corrected the code above also.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum