PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  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
r0rz
New Member
New Member


Joined: Jul 19, 2008
Posts: 13

PostPosted: Wed Dec 10, 2008 6:11 am Reply with quote Back to top

I have few suggestions for raven nuke that will make raven nuke better than it is now Smile
all of them are can enabled\disabled by admins
1) make option to display this thing
it will show under the news but before the comments

[Combo] [Text Line] [Button]

the combo will be of this option Text(default), Html, Forum
the text line will be url of the page
and button it will copy to clipboard the text line when you click it
if it is text the link will be like
Only registered users can see links on this board!
Get registered or login to the forums!


if it was html the link was <a href="">Name of the news</a>
and if it was forum its like [url]link[/url]

2) make an option to set if avatars will be displayed in comments

3) make the ability to set how many comments will be displayed in each page of news like 20 and if there are more than 20 comments it will be page 1, 2, 3

4) make a comment counter that counts how many comments each user posted(maybe it will add the counts to the forum post counter)
and will show right to the nickname of the user the number of posted comments
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Wed Dec 10, 2008 7:10 am Reply with quote Back to top

I don't understand what you mean on # 1. The rest of the suggestions would make the news modules even more like a blog than it already is and could be useful for many. Thanks!
View user's profile Send private message
r0rz
New Member
New Member


Joined: Jul 19, 2008
Posts: 13

PostPosted: Wed Dec 10, 2008 10:18 am Reply with quote Back to top

this is a line that generates it self by the option of the combo
and the line have link for the page that you see now and you can easily copy the link of the page and give to friend or post somewhere
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Wed Dec 10, 2008 12:38 pm Reply with quote Back to top

Sorry...I'm still confused. Can you show a screen shot highlighting it?

Thanks,
View user's profile Send private message
r0rz
New Member
New Member


Joined: Jul 19, 2008
Posts: 13

PostPosted: Wed Dec 10, 2008 1:28 pm Reply with quote Back to top

no problem here:
Only registered users can see links on this board!
Get registered or login to the forums!


If In the Combo there was selected the option HTML it will show in the text field the following line:
<a href="http://www.ravenphpscripts.com/article3496.html">AddOns-Content Plus 2.2.1 Released Today, Update Your Copy Right Now</a>

and if in the Combo there was selected the option Forum it will show in the text field the same but with [ url ] [ / url ] links

And when you click the copy button it just copies what wroten in the text field to the clipboard so you can past it anywhere you want fast
i hope now you understood Smile
View user's profile Send private message
jaded
Theme Guru


Joined: Nov 01, 2003
Posts: 1006

PostPosted: Wed Dec 10, 2008 1:29 pm Reply with quote Back to top

I am with kguske, confused by number one, but the other options I am all for implimenting. They would be very useful for so many. Great ideas!
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Wed Dec 10, 2008 10:58 pm Reply with quote Back to top

I think I see what you're saying now...

3 buttons that would allow the visitor to copy the following to the clipboard:
- an HTML link to the story with the story title as the link text
- a text copy of the story title
- a bbcode link to the story with the story title as the link text

Have you seen this implemented somewhere? I have not (which is probably why this was confusing)
View user's profile Send private message
r0rz
New Member
New Member


Joined: Jul 19, 2008
Posts: 13

PostPosted: Thu Dec 11, 2008 7:07 am Reply with quote Back to top

there will be one button only that depends on what you selected in the Combo

if you selected "Text" than it just copies the url of the page

if you selected "HTML" it copies the url with the story title as the link text

and if you selected "forum" it copies to clipboard the bbcode link to the story with the story title as the link text

and it didnt implemented anywhere it is my idea
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Thu Dec 11, 2008 9:18 pm Reply with quote Back to top

Interesting. There may be multiple ways to implement that, but a combo and button is one that might work.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Fri Dec 12, 2008 5:39 am Reply with quote Back to top

Or a dynamic pop-up...
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Thu Dec 25, 2008 7:28 pm Reply with quote Back to top

I have a simple mod for displaying a posters avatar in the news comments.
This might be useful for you. The code may need to be cleaned up, but it works.

in modules/News/comments.php find

Code:
/* If you are admin you can see the Poster IP address */
            /* with this you can see who is flaming you...*/


after add

Code:
echo "<br />";

   if (($c_name != $anonymous)&&($c_name !=$anonymousname)) {

       $sql2 = "SELECT user_id,user_avatar FROM ".$prefix."_users WHERE username='$c_name'";

       $result2 = $db->sql_query($sql2);

       $row2 = $db->sql_fetchrow($result2);

      $avatar=$row2['user_avatar'];

      $user_id=intval($row2['user_id']);

      if ($avatar=="") {

echo "&nbsp;&nbsp;<a href=\"profile-.html$user_id\"><img alt src=\"modules/Forums/images/avatars/noimage.gif\" border =\"0\" width=\"35\" height=\"35\"></a>";

}

else

if (eregi("http://", $avatar)) {

echo"&nbsp;&nbsp;<a href=\"forums.html&file=profile&amp;mode=viewprofile&amp;u=$user_id\"><img alt src=\"$avatar\" border =\"0\"></a>";

}

else{

echo "&nbsp;&nbsp;<a href=\"forums.html&file=profile&amp;mode=viewprofile&amp;u=$user_id\"><img alt src=\"modules/Forums/images/avatars/$avatar\" border =\"0\"></a>";

}     
   }     
View user's profile Send private message Send e-mail Visit poster's website
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