Quote:
I assume, this is optional, and not as a default, right?
Mamba, i improve the feature with the help of your comments.
Honestly in this newbb version
everything is optional more than core 2.6.0
I removed almost all hardcoded html, css, php commands and ...
regarding css3 buttons i implement your suggestions and now you can do everything you want.
- you can change all image buttons to text buttons with change the setting in newbb/include/plugin.php
// Display text links instead of image buttons for edit, reply, .... set true or false
$customConfig["display_text_links"] = false;
to true
OR
- you can customize
each button one by one to
1- show text link or image in newbb/class/post.php
2- if show text ->
2-1- customize the text show in style.css with the help of class="forum_icon" id=$image_name
eg:
for buttons:
button.forum_icon#p_edit
button.forum_icon#p_edit:hover
button.forum_icon#p_edit:active
or for others
span.forum_icon
span.forum_icon:hover
span.forum_icon:active
2-2- leave it to just show the text
3- if show image ->
3-1- customize the image show in style.css with the help of:
img.forum_icon
img.forum_icon:hover
img.forum_icon:active
3-2- leave it to just show the image
look:
if you dont like the above and want to show social links with image you can do it easily.
you can show each link in image or in text or in css3 style.
download:
http://www.jadoogaran.org/test255/modules/newbb43_rev10109_irmtfan_2012_08_27_2.zipchangelog from alfred rev.10109 (the latest is 10121):
date: 2012-08-27 - 2
================================================
1- improve text link instead of buttons to only show text buttons when: a) alt key is set b)display is not set to true c)only buttons like reply, edit
newbb/include/functions.render.php, newbb/class/icon.php
2- add alt key for quickreply button and remove one extra space ( ) and sort reply - addpoll - newtopic
newbb/viewtopic.php, newbb/templates/newbb_viewtopic.html
date: 2012-08-27
================================================
1- remove icon_path and use newbb_displayImage
newbb/class/forum.php, newbb/templates/newbb_index.html, newbb/templates/newbb_viewforum_subforum.html
2- remove icon_path and define anonym icon and use newbb_displayImage
newbb/viewpost.php, newbb/viewtopic.php, newbb/include/images.php, newbb/templates/newbb_thread.html
3- simplyify infobox and add alt and title show/hide definitions and alt key
newbb/viewtopic.php, newbb/templates/newbb_thread.html, newbb/include/js/newbb_toggle.js, newbb/language/english/main.php newbb/docs/lang_diff.txt
newbb/templates/images/language/english/style.css
newbb/templates/images/icon/less.png
4- a little correctness. dot removed
newbb/class/user.php
5- feature improve: css3 text buttons introduced and used (DCrussader/irmtfan)
newbb/class/icon.php, newbb/templates/images/language/english/style.css class="forum_icon" id=$image_name
date: 2012-08-26
================================================
1- merge with alfred.
newbb/votepolls.php, newbb/polls.php, newbb/print.php, newbb/seo.php
2- bug in getting $op and typo: addmor -> addmore
newbb/polls.php
3- better method for getting the customize/localize newbb style.css
newbb/header.php
SVN:
http://xoops.svn.sourceforge.net/viewvc/xoops/XoopsModules/newbb/branches/irmtfan/newbb/