11
draxan
Re: xoops stats module
  • 2005/4/8 18:58

  • draxan

  • Just popping in

  • Posts: 20

  • Since: 2005/3/9 1


I got the same problem. Pls post what to do to start run counter!!!!!!!



12
draxan
Re: comments hack
  • 2005/4/8 16:38

  • draxan

  • Just popping in

  • Posts: 20

  • Since: 2005/3/9 1


And that is reply for above problem....

THX for all
In file modules/news/class/class.newsstory.php
Quote:

if (XOOPS_COMMENT_APPROVENONE != $xoopsModuleConfig['com_rule']) {
$ccount = $this->comments();
$morelink .= '<a href="'.XOOPS_URL.'/modules/news/article.php?storyid='.$this->storyid().'';
$morelink2 = '<a href="'.XOOPS_URL.'/modules/news/article.php?storyid='.$this->storyid().'';

if ( $ccount == 0 ) {
$morelink .= '">'._NW_COMMENTS.'</a>';
}

we change greenone lines
Quote:

if (XOOPS_COMMENT_APPROVENONE != $xoopsModuleConfig['com_rule']) {
$ccount = $this->comments();
$morelink .= '<a href="'.XOOPS_URL.'/modules/news/comment_new.php?com_itemid='.$this->storyid().'';
$morelink2 = '<a href="'.XOOPS_URL.'/modules/news/comment_new.php?com_itemid='.$this->storyid().'';

if ( $ccount == 0 ) {
$morelink .= '">'._NW_COMMENTS.'</a>';
}

and that's it.



13
draxan
comments hack
  • 2005/4/7 15:45

  • draxan

  • Just popping in

  • Posts: 20

  • Since: 2005/3/9 1


How to change and where link to comment in news module as in this page. I mean when U click on link Make Comment it redirect to comment editor. Now I got on my site when I click on above link I redirect to page when top is a commented news and belov I got comments nav bar, and only then I can click Make Comment button. So I leave this and after click go directly to comment editor as on this site.

Thx for help...



14
draxan
Section module problem
  • 2005/3/25 15:36

  • draxan

  • Just popping in

  • Posts: 20

  • Since: 2005/3/9 1


Hi
I got big trouble with section module. When I put new article and use in this article html tags table; tr ;td below normal text, the table appear but in a huge empty space below text. I don't know what happen??
Additionally I got in Section Admin page error:
Notice [PHP]: Use of undefined constant _AM_SECCONF - assumed '_AM_SECCONF' in file /home/worlock/ftp/modules/sections/admin/index.php line 45

1)Other ways is there better module to submit and manage articles like Sections module in core xoops??
2) How to make topics on home page as here on xoops.org?? I mean 4 topics - Xoops, Modules, Themes, YAXS.

Thanx for info



15
draxan
Re: Hack site info block
  • 2005/3/17 16:06

  • draxan

  • Just popping in

  • Posts: 20

  • Since: 2005/3/9 1


Thanx a lot ackbarr. That's working.
But there is one little problem. I change template file and replace it on server but when I enter to site template file is not changed. It seems like a xoop make backup file with old preferences.



16
draxan
Hack site info block
  • 2005/3/16 11:22

  • draxan

  • Just popping in

  • Posts: 20

  • Since: 2005/3/9 1


Hi
I want change site block info to add ICQ status icon but for that I need take from data base ICQ number for each user but I don't know what

!-- start group member loop --
{foreach item=user from=$group.users}
tr
td class="even" valign="middle" align="center"
img src="<{$user.avatar}>" alt="" width="32" /
br /
a href="<{$xoops_url}>/userinfo.php?uid=<{$user.id}>"
{$user.name}
/a
/td
!here I want put changes
td align="center"
img border=0 src="http://web.icq.com/whitepages/online?icq=ICQ_USER_NUMBER&img=5"
/td
!end changes
td class="odd" width="20%" align="right" valign="middle"
{$user.msglink}
/td
/tr
{/foreach}
!-- end group member loop --
but there is a question how get ICQ_USER_NUMBER from data base????
Please help



17
draxan
Modify block problem
  • 2005/3/14 20:54

  • draxan

  • Just popping in

  • Posts: 20

  • Since: 2005/3/9 1


I try modify site info block to add ICQ status icon left from user avatar but there is a problem because I don't know how to get user ICQ number from DB.
For example: {$user.name} return name of login but what return ICQ number??? I try {$user_icq} but not working.

Thx for any info.



18
draxan
Re: User Info
  • 2005/3/14 20:27

  • draxan

  • Just popping in

  • Posts: 20

  • Since: 2005/3/9 1


Thx tl for info!!!!



19
draxan
Re: User Info
  • 2005/3/13 21:17

  • draxan

  • Just popping in

  • Posts: 20

  • Since: 2005/3/9 1


For more details to above problem I need to do somethig that not logged users cannot view user info after clicking on nick name.
Such thing is normal in php nuke but in XOOPS i can't find any options to block it.



20
draxan
User Info
  • 2005/3/13 9:32

  • draxan

  • Just popping in

  • Posts: 20

  • Since: 2005/3/9 1


Hi!
How to make access to user info for logged user only not for all visitors???




TopTop
« 1 (2)



Login

Who's Online

170 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 170


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