Search by User ID Module (5.1 and 5.2 ready)
Posted by Oliver Riesen-Mallmann
September 12, 2006 02:23AM |
Admin Registered: 17 years ago Posts: 744 |
Hi Ta,
Eugenol template doesn't show the number of posts on the profile page. And therefore doesn't show my link either.
Copy the following lines to profile.tpl between the "real name" und "date added" blocks:
My module doesn't add anything to the search page.
Regards
Oliver
P.S. Seems that I have to add another check to my sanity check collection... ;-)
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Quote
Ta
I am using Eugenol template.
Eugenol template doesn't show the number of posts on the profile page. And therefore doesn't show my link either.
Copy the following lines to profile.tpl between the "real name" und "date added" blocks:
{IF PROFILE->posts} <tr> <th>{LANG->Posts}: </th> <td>{PROFILE->posts}</td> </tr> {/IF}
My module doesn't add anything to the search page.
Regards
Oliver
P.S. Seems that I have to add another check to my sanity check collection... ;-)
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Search by User ID Module (5.1 and 5.2 ready) September 12, 2006 03:38AM |
Registered: 16 years ago Posts: 62 |
September 12, 2006 04:18AM |
Admin Registered: 17 years ago Posts: 744 |
Hi Ta,
The only sign for the search by ID is taht the number of posts is formatted as link. Sure that the number of post isn't a link?
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Quote
Ta
I added the code and it now shows the number of posts, but still no sign of the search by ID. What next?
The only sign for the search by ID is taht the number of posts is formatted as link. Sure that the number of post isn't a link?
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Search by User ID Module (5.1 and 5.2 ready) September 12, 2006 04:33AM |
Registered: 16 years ago Posts: 62 |
Oh I got it, sorry I thought it'll be like a search box or something.
Yes the number of posts is a link, that's one step forward.
When I clicked it I got...
Template problem: file "./templates/eugenol/"loginout_menu".tpl" does not exist
So I copied the loginout_menu.tpl from the default templates into the Eugenol templates directory, still got the same message.
Looks like there are a lot of "" in the error message.
What do you reckon?
Ta
Yes the number of posts is a link, that's one step forward.
When I clicked it I got...
Template problem: file "./templates/eugenol/"loginout_menu".tpl" does not exist
So I copied the loginout_menu.tpl from the default templates into the Eugenol templates directory, still got the same message.
Looks like there are a lot of "" in the error message.
What do you reckon?
Ta
September 12, 2006 04:40AM |
Admin Registered: 18 years ago Posts: 8,532 |
Looks like a phorum 5.2 template format that is used in phorum 5.1. In 5.2, {INCLUDE loginout_menu} has to be written as {INCLUDE "loginout_menu"}.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



September 12, 2006 04:56AM |
Admin Registered: 17 years ago Posts: 744 |
Hi Ta,
I attach a modified search-user.tpl for the Eugenol-template. Pleas try this. If it works I'll include it in the next version of my module.
Regards
Oliver
[Attachment removed. It´s now included in the distributed archive]
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Edited 1 time(s). Last edit at 09/12/2006 07:05AM by Oliver Riesen.
Quote
Ta
Template problem: file "./templates/eugenol/"loginout_menu".tpl" does not exist
I attach a modified search-user.tpl for the Eugenol-template. Pleas try this. If it works I'll include it in the next version of my module.
Regards
Oliver
[Attachment removed. It´s now included in the distributed archive]
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Edited 1 time(s). Last edit at 09/12/2006 07:05AM by Oliver Riesen.
Re: Search by User ID Module (5.1 and 5.2 ready) September 12, 2006 05:02AM |
Registered: 16 years ago Posts: 62 |
September 12, 2006 05:05AM |
Admin Registered: 17 years ago Posts: 744 |
Hi Ta,
I added a note to the readme.txt. But perhaps you have an idea how to present this search more obvious...
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Quote
Ta
Yes the number of posts is a link
I added a note to the readme.txt. But perhaps you have an idea how to present this search more obvious...
Regards
Oliver
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Search by User ID Module (5.1 and 5.2 ready) September 12, 2006 05:22AM |
Registered: 16 years ago Posts: 62 |
Re: Search by User ID Module (5.1 and 5.2 ready) September 12, 2006 06:19AM |
Registered: 16 years ago Posts: 62 |
Oliver,
I only know simple thing. I did this and it looks ok
{IF PROFILE->posts}
<tr>
<th>{LANG->Posts}:  <font color="red"><i>click to view</i></font></th>
<td>{PROFILE->posts}</td>
</tr>
{/IF}
One question... What makes the profile page display for about 10 second and refresh back to the message listing page?
Thank you
Ta
I only know simple thing. I did this and it looks ok
{IF PROFILE->posts}
<tr>
<th>{LANG->Posts}:  <font color="red"><i>click to view</i></font></th>
<td>{PROFILE->posts}</td>
</tr>
{/IF}
One question... What makes the profile page display for about 10 second and refresh back to the message listing page?
Thank you
Ta
Sorry, only registered users may post in this forum.