91
karuna
Re: continuous blank will be ignored in the newbb??
  • 2004/4/19 15:43

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


Hi
i mean that if there are many blanks in a post it looks like there is only 1 blank. However all blanks will be seen in the {code} tag.



92
karuna
Re: User Avatar in theme.html
  • 2004/4/19 12:12

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


Hi maybe u can add this smarty variable in the header.php
(I havn't test it myself )



93
karuna
Re: A theme like this?
  • 2004/4/17 15:01

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


I think you can modife the style.css of phpkaox and change the hearder picture to get a theme like that



94
karuna
Re: how to modify "view account" page? - design
  • 2004/4/15 15:23

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


hi
Maybe you have the edit the user.php



95
karuna
Re: The Moderator can't delete or edit a single post?
  • 2004/4/14 15:16

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


Hi

I have fund the problem

I change the template newbb_thread.html here

<{if $xoops_isadmin == true}>

          <
td class="even" align="right">
            <
a href="edit.php?forum=<{$forum_id}>&post_id=<{$topic_post.post_id}>&topic_id=<{$topic_id}>&viewmode=<{$topic_viewmode}>&order=<{$topic_order}>"><img src="<{$xoops_url}>/images/icons/edit.gif" alt="<{$lang_edit}>" /></a><a href='delete.php?forum=<{$forum_id}>&topic_id=<{$topic_id}>&post_id=<{$topic_post.post_id}>&viewmode=<{$topic_viewmode}>&order=<{$topic_order}>'><img src="<{$xoops_url}>/images/icons/delete.gif" alt="<{$lang_delete}>" /></a><a href='reply.php?forum=<{$forum_id}>&post_id=<{$topic_post.post_id}>&topic_id=<{$topic_id}>&viewmode=<{$topic_viewmode}>&order=<{$topic_order}>'><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$lang_reply}>" /></a>
          </
td>


The first line to " <{if $viewer_is_admin == true}>"

Then the moderator can edit or delete a single post

btw:I use XOOPS 2.06



96
karuna
Re: Can i Show a Avatar in user Menu
  • 2004/4/14 14:24

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


Hi

to show a avatar in user Menu u can modife the system_block in the modules/system/block/
about line 145
function b_system_user_show()
{
    global 
$xoopsUser;
    if (
is_object($xoopsUser)) {
        
$pm_handler =& xoops_gethandler('privmessage');
        
$block = array();
        
$block['lang_youraccount'] = _MB_SYSTEM_VACNT;
        
$block['lang_editaccount'] = _MB_SYSTEM_EACNT;
        
$block['lang_notifications'] = _MB_SYSTEM_NOTIF;
        
$block['uid'] = $xoopsUser->getVar('uid');
        
$block['lang_logout'] = _MB_SYSTEM_LOUT;
        
$criteria = new CriteriaCompo(new Criteria('read_msg'0));
        
$criteria->add(new Criteria('to_userid'$xoopsUser->getVar('uid')));
        
$block['new_messages'] = $pm_handler->getCount($criteria);
        
$block['lang_inbox'] = _MB_SYSTEM_INBOX;
        if (
$xoopsUser->isAdmin()) {
            
$block['lang_adminmenu'] = _MB_SYSTEM_ADMENU;
        }
        
/////////here add these///////////////
        
$block['avatar'] = $xoopsUser->getVar('user_avatar') != 'blank.gif' XOOPS_URL.'/uploads/'.$xoopsUser->getVar('user_avatar') : ''
        
/////////end//////////////////////////
        
return $block;
    }
    return 
false;
}


then u can use <{$block.avatar}> to get the user's avatar
<img src="<{$block.avatar}>" alt="" width="32" />




97
karuna
The Moderator can't delete or edit a single post?
  • 2004/4/14 5:59

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


It seem that only the member have the Newbb module's administration can delet or edit a single post?



98
karuna
Re: How to add a link on a module?
  • 2004/4/11 15:19

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


Hi

Does XOOPS have the menu template? I didn't find it.

It seems that you should add it in the theme.html if there is a such smarty variable



99
karuna
Re: How to add a lot of avatars??
  • 2004/4/10 21:59

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


Thank you very much



100
karuna
How to add a lot of avatars??
  • 2004/4/10 18:13

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


i have named these avatars likes this ava001 ava002 ...ava200

My question is how to add so many avatars in a easy way?




TopTop
« 1 ... 7 8 9 (10) 11 12 13 ... 16 »



Login

Who's Online

140 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 140


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits