FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Forum Styles » Userinfo - style CSS ContentTable
Show: Today's Messages :: Unread Messages :: Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Userinfo - style CSS ContentTable [message #163705] Wed, 24 November 2010 14:56 Go to next message
Martin_E is currently offline  Martin_E
Messages: 16
Registered: November 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
I can not find the correct file to change the class ContentTable of the userinfo. I would like to rename it to UserinfoTable

May someone can give me a hint.

Here is the code:
<tr class="MsgR2">
<td class="MsgR2" valign="top" width="15%">
<img src="theme/default/images/offline.png" alt="User ist gerade offline" title="User ist gerade offline">&nbsp;<a href="index.php?t=usrinfo&amp;id=23423&amp;">User</a><br><table class="ContentTable" cellpadding="0" cellspacing="0"><tbody><tr class="MsgR2"><td class="avatarPad wo"><im

[Updated on: Wed, 24 November 2010 14:57]

Report message to a moderator

Re: Userinfo - style CSS ContentTable [message #163706 is a reply to message #163705] Wed, 24 November 2010 16:29 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
usrinfo.tmpl -> USERINFO_PAGE

Re: Userinfo - style CSS ContentTable [message #163707 is a reply to message #163706] Wed, 24 November 2010 16:29 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
I would do it via the template editor

Aw: Re: Userinfo - style CSS ContentTable [message #163712 is a reply to message #163707] Thu, 25 November 2010 01:03 Go to previous messageGo to next message
Martin_E is currently offline  Martin_E   Germany
Messages: 16
Registered: November 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
In the file userinfo.tmpl is nothing like "ContentTable". This file is the template file for the page view of
index.php?t=usrinfo&id=
Re: Aw: Re: Userinfo - style CSS ContentTable [message #163713 is a reply to message #163712] Thu, 25 November 2010 01:09 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
Have you created a new theme?

If you haven't, go to admin control panel, theme manager and create a new theme.

Then, go to template editor, select your created theme and the proper language.

Click the [+] next to usrinfo.tmpl

You should see a bunch of template sections, maybe something like this:
           » last_post_lnk
           » last_post  ->  last post link
           » email_link
           » email_form_link_lnk
           » email_form_link  ->  link to the email form
           » usrinfo_private_msg_lnk
           » referals_lnk
           » referals  ->  an indicator of how many people this user has referred
           » birth_date
           » level_name  ->  user's level name as determined by post count
           » level_image  ->  user's level image if available as determined by post count
           » moderation  ->  list of all forums moderated by user
           » moderation_entry_lnk
           » moderation_entry  ->  link to forum moderated by user
           » USERINFO_PAGE_lnk
     » USERINFO_PAGE  ->  info about a particular user in the forum
           » user_info_l
           » userinfo_update
           » male
           » female
           » no_view_perm
           » polls_lnk
           » polls  ->  an indicator of how many polls this user has created
           » ui_buddy_lnk
           » ui_buddy


Click on USERINFO_PAGE. There should appear a text field on the right?


Aw: Re: Aw: Re: Userinfo - style CSS ContentTable [message #163714 is a reply to message #163713] Thu, 25 November 2010 01:35 Go to previous messageGo to next message
Martin_E is currently offline  Martin_E   Germany
Messages: 16
Registered: November 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
I have tried both ways.
1) Using the adminpanel, like you explaned
2) manual edit of the file usrinfo.tmpl

Back to the problem, I would like to change the word "ContentTable" to "UserinfoTable" for design reasons in the area of the small userinfo.

The reason you can see here, the table/border with the round corners is wrong
index.php?t=getfile&id=6051&private=0


For testing I have delete all words "ContentTable" in the usrinfo.tmpl.
After rebuilt theme only on thing was changed, the big userinfopage you with the url: ...index.php?t=usrinfo&id=[usernumber]

  • Attachment: Screen.gif
    (Size: 34.92KB, Downloaded 2513 times)

[Updated on: Thu, 25 November 2010 01:36]

Report message to a moderator

Re: Aw: Re: Aw: Re: Userinfo - style CSS ContentTable [message #163715 is a reply to message #163714] Thu, 25 November 2010 01:41 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
You said you couldn't find the ContentTable entry.

After you have done the change, you have to rebuild the theme if you did it manually with the theme manager, if you did it with the template editor, the change should go live instantly.


Re: Aw: Re: Aw: Re: Userinfo - style CSS ContentTable [message #163716 is a reply to message #163715] Thu, 25 November 2010 01:44 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
remove from buddy list
ignore all messages by this user
I see now. The section you wish to change is not at all the usrinfo.tmpl - the usrinfo.tmpl is the page you see when you click someones name:
http://fudforum.org/forum/index.php?t=usrinfo&id=2614&

What you want to change is to be found in the drawmsg.tmpl - the template that draws a message.

drawmsg.tmpl -> message_entry


Aw: Re: Aw: Re: Aw: Re: Userinfo - style CSS ContentTable [message #163724 is a reply to message #163716] Thu, 25 November 2010 05:33 Go to previous message
Martin_E is currently offline  Martin_E
Messages: 16
Registered: November 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
This is the solution. There exist some drawmsg.tmpl.

The drawmsg.tmpl in the user_info_left directory is the propper on.

Thank you for your hints!
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Dark-background theme
Next Topic: Different colors for sub-categories?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Dec 09 21:47:40 EST 2024

Total time taken to generate the page: 0.04297 seconds