11823
Guest
|
I dont know if its been reported before but I thought I will bring it up! When you search a board the posts display but the mini profile modification dont appear. Example. Go to the intro forum, click "search" and enter Jamie. The results come up but the mini profile mod doesnt appear! -Jamie
|
|
|
|
Well, I think the main reason that it doesn't appear is because the search results are coded so that the miniprofile will be displayed when profile are viewed or the posts are viewed.
I'm not too sure about this area as CD is in charge of it. We'll have to ask him to see if this can be either included or not.
|
Ex-admin, designer and founder of Studio Zero. Currently working as a Dentist
|
|
|
11823
Guest
|
Ok, Its nothing major but I thought I should tell you
|
|
|
|
Ok, Its nothing major but I thought I should tell you Well, it's cool that you noticed it.
|
Ex-admin, designer and founder of Studio Zero. Currently working as a Dentist
|
|
|
|
The mini profile checks for the pages that use the mini profile, but the search page brings you to the main page which the location check ignores becaue the mini profile dosent appear there
|
"In the end, we will not remember the words of our enemies, but the silence of our friends." Martin Luther King
|
|
|
|
It could be possible to check document.title for " - Search Results" though
|
|
|
|
yes but then the code has to read more and another loop slows down the loading time, not that big of a deal
|
"In the end, we will not remember the words of our enemies, but the silence of our friends." Martin Luther King
|
|
|
|
You wouldn't need another loop. There's only one title in the page if(location.href.match(/action=display/i) || document.title.match(/ - Search Results/)){
Last Edit: Jun 2, 2006 10:59:08 GMT by hpmad
|
|
|
|
The RegExp is a bit more complex then that actually HP, but you have the basics of it. And yeah, I'll fix this later when I get home. It shouldn't be too hard to do.
|
|
|
|