Not Solved Search Highlighting in mybb...ُ
#1
Not Solved
Hello there.
Mybb has not a feature that when you search and give result, searched keywords show highlighted.
But I made a plugin that do it for you...
http://mods.mybboard.com/view.php?did=357

Read features:
Highlight searched keywords in thread's show
Highlight searched keywords in search results' show
Add searched keywords to navigator of show search results.
Edit Css of highlighted texts(Admins);


download and enjoy it and w8 for next versions and more features...
imei Addmimistrator
Reply
#2
Not Solved
It seems to be not working on my forum:
http://www.urbanus-online.be/forum

(No highlights?)
[Image: destroyerjf8.jpg]

Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Reply
#3
Not Solved
It works but your CSS did not added to your master default theme, it is an issue with upgraded forums... just add this at end of extra css of default theme...
.highlight{
	background-color:	#FF0000;
	color:	#FFFF00;
}


I search of your forum and give this html result... if you do that it will works fine.
Kom, <span class="highlight" title="highlighted by 'imeiHighLight plugin'">kom</span>,
Reply
#4
Not Solved
Still no difference, though.

This is my CSS:

Quote:img {
border: none;
}

.clear {
clear: both;
}

.hidden {
display: none;
float: none;
width: 1%;
}

.float_left {
float: left;
}

.float_right {
float: right;
}

.menu ul {
list-style: none;
margin: 0;
}

.menu li {
display: inline;
padding-left: 5px;
}

.menu img {
padding-right: 5px;
vertical-align: top;
}

#panel .links {
margin: 0;
float: right;
}

.expcolimage {
float: right;
width: auto;
vertical-align: middle;
}

img.attachment {
border: 1px solid #E9E5D7;
padding: 2px;
}

.pagenav {
font-weight: bold;
}

.pagenavbit {
padding-left: 3px;
}

.pagenavbit a {
text-decoration: none;
}

.pagenavcurrent {
font-weight: bold;
padding-left: 3px;
}

hr {
background-color: #000000;
color: #000000;
height: 1px;
border: 0px;
}

#copyright {
font: 11px Verdana, Arial, Sans-Serif;
margin: 0;
padding: 10px 0 0 0;
}

#debug {
float: right;
text-align: right;
margin-top: 0;
}

.quote_header {
background: #fff;
border: 1px dashed #000;
border-bottom: 0;
color: #000;
font-weight: bold;
margin: 8px auto 0 auto;
padding: 4px;
}

.quote_body {
background: #fff;
border: 1px dashed #000;
border-top: 0;
color: #000;
padding: 4px;
margin: 0 auto 8px auto;
}

.code_header {
background: #fff;
border: 1px dashed #000;
border-bottom: 0;
color: #000;
font-weight: bold;
margin: 8px auto 0 auto;
padding: 4px;
}

.code_body {
background: #fff;
border: 1px dashed #000;
border-top: 0;
color: #000;
padding: 4px;
margin: 0 auto 8px auto;
font-family: Monaco, Consolas, Courier, monospace;
font-size: 12px;
}
.usercpnav {
list-style: inside;
padding: 0;
margin: 0;
}

.usercpnav li {
padding: 1px;
font-size:11px
}

.usercpnav .pmfolders {
/* PM folders on the UCP Nav menu */
}

.subforumicon {
border: 0;
vertical-align: middle;
}

.separator {
margin: 5px;
padding: 0;
height: 0px;
font-size: 1px;
list-style-type: none;
}

form {
margin: 0;
padding: 0;
}

.popup_menu .popup_item_container {
margin: 1px;
text-align: left;
}

.popup_menu .popup_item {
display: block;
padding: 3px;
text-decoration: none;
white-space: nowrap;
}

.popup_menu a.popup_item:hover {
text-decoration: none;
}

.autocomplete {
text-align: left;
}

.highlight {
background-color: #FF0000;
color: #FFFF00;
}
[Image: destroyerjf8.jpg]

Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Reply
#5
Not Solved
I can see,
http://www.urbanus-online.be/forum/showt...ight=Hallo

how dont you? Help me solve plz.
Reply
#6
Not Solved
It worked after a refresh.. problem solved. Wink

Btw, is it possible to just add it into the search.php so we don't have to type &highlight= after our query?
[Image: destroyerjf8.jpg]

Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Reply
#7
Not Solved
your search {in post view not topic view} by default have suitable links (pid=xx&highlight=yyyy} btw it is as a feature that I implemented that your stopics also have this ability.
thank you for your response. I change some things in original plugin that i think may solve such a problem...
Reply
#8
Not Solved
Well, without adding &highlight to my search line, nothing gets highlighted. o.o
[Image: destroyerjf8.jpg]

Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Reply
#9
Not Solved
No. fortunately guests may search your forum and I tested it:
http://www.urbanus-online.be/forum/searc...order=desc
No problem . Just click on "Bericht: waarde?" in first result...
Reply
#10
Not Solved
Hmm, right.

Why don't I get any highlights here?
http://www.urbanus-online.be/forum/searc...order=desc

Toungue
[Image: destroyerjf8.jpg]

Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)