Author |
Message |
r0rz
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jul 19, 2008
Posts: 13
|
Posted:
Wed Dec 10, 2008 6:11 am |
|
I have few suggestions for raven nuke that will make raven nuke better than it is now
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
http://a.com/modules.php?name=News&file=article&sid=1&mode=thread&order=0&thold=0
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
Site Admin
![](modules/Forums/images/avatars/41f0b40a419280935f3a0.gif)
Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Wed Dec 10, 2008 7:10 am |
|
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! |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
r0rz
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Dec 10, 2008 10:18 am |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Dec 10, 2008 12:38 pm |
|
Sorry...I'm still confused. Can you show a screen shot highlighting it?
Thanks, |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
r0rz
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Dec 10, 2008 1:28 pm |
|
no problem here:
Only registered users can see links on this board! Get registered or login!
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](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jaded
Theme Guru
![](modules/Forums/images/avatars/447fe6544d7f95dc7157a.gif)
Joined: Nov 01, 2003
Posts: 1006
|
Posted:
Wed Dec 10, 2008 1:29 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Dec 10, 2008 10:58 pm |
|
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) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
r0rz
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Dec 11, 2008 7:07 am |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Dec 11, 2008 9:18 pm |
|
Interesting. There may be multiple ways to implement that, but a combo and button is one that might work. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Fri Dec 12, 2008 5:39 am |
|
Or a dynamic pop-up... |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/3234de284ee21bd39eecd.jpg)
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Thu Dec 25, 2008 7:28 pm |
|
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 " <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" <a href=\"forums.html?file=profile&mode=viewprofile&u=$user_id\"><img alt src=\"$avatar\" border =\"0\"></a>";
}
else{
echo " <a href=\"forums.html?file=profile&mode=viewprofile&u=$user_id\"><img alt src=\"modules/Forums/images/avatars/$avatar\" border =\"0\"></a>";
}
}
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|