Firefox PHP

Search by User ID Module (5.1 and 5.2 ready)

Re: Search by User ID Module (5.1 and 5.2 ready)
September 12, 2006 02:23AM
Hi Ta,

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}:&nbsp;</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.
Ta
Re: Search by User ID Module (5.1 and 5.2 ready)
September 12, 2006 03:38AM
Thanks Oliver,
I added the code and it now shows the number of posts, but still no sign of the search by ID.
What next?

By the way, do you know it this is by design...? The profile page's shown about 10-12 seconds and refreash back the the message listing page?

Ta
Re: Search by User ID Module (5.1 and 5.2 ready)
September 12, 2006 04:18AM
Hi Ta,

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.
Ta
Re: Search by User ID Module (5.1 and 5.2 ready)
September 12, 2006 04:33AM
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
Re: Search by User ID Module (5.1 and 5.2 ready)
September 12, 2006 04:40AM
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
Re: Search by User ID Module (5.1 and 5.2 ready)
September 12, 2006 04:56AM
Hi Ta,

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.
Ta
Re: Search by User ID Module (5.1 and 5.2 ready)
September 12, 2006 05:02AM
Yep! Works perfectly!!! with the search-user.tpl in the eugenol tamplate directory.
Thanks Oliver
Thanks Maurice
Great team you got there :)

Ta
Re: Search by User ID Module (5.1 and 5.2 ready)
September 12, 2006 05:05AM
Hi Ta,

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.
Ta
Re: Search by User ID Module (5.1 and 5.2 ready)
September 12, 2006 05:22AM
may be just a lable after the number...something like 'click to view'

More likely it's moe not reading the 'readme' properly.
:)

Ta
Ta
Re: Search by User ID Module (5.1 and 5.2 ready)
September 12, 2006 06:19AM
Oliver,

I only know simple thing. I did this and it looks ok

{IF PROFILE->posts}
<tr>
<th>{LANG->Posts}:&nbsp&nbsp<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.

Click here to login