981
stefan88
Re: Counter 2.02
  • 2005/8/3 6:07

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,
not shure if this is the counter you are asking, but here is one I have:

http://rapidshare.de/files/3602529/xoopscount202.zip.html
..



982
stefan88
Re: Include a block in a theme
  • 2005/8/2 19:34

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


It does solve the problem (as I understand it - to have a permanent login in theme) if it works, and it does :)

As for the style I agree, but didn't have the time to do it in diferent way. I think it could be done as smarty plugin as the "loading time/number of queries" hack, but I'm new to smarty and will have to read some docs before doing it.

Stefan

BTW: the PHP code is needed to display the number of mesages in Inbox, not for the login itself, so this part could be removed ...
..



983
stefan88
Re: Include a block in a theme
  • 2005/8/2 19:19

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

in my theme I use this:

<table width="100%" height=25px border="0" cellpadding="0" cellspacing="0" id="topbar"
<
tr
<
td width="300" class="headerlogin">
<{if 
$xoops_isuser}>


<!-- 
<{
php}>
GLOBAL 
$xoopsUser;
$pm_handler =& xoops_gethandler('privmessage');
$uid $xoopsUser->getVar('uid');
$criteria = new CriteriaCompo(new Criteria('read_msg'0));
$criteria->add(new Criteria('to_userid'$uid));
$msgcount $pm_handler->getCount($criteria);
$GLOBALS['xoopsTpl']->assign('msgcount'$msgcount);
<{/
php}>
-->


<{if 
$msgcount 0}>
&
nbsp;<a href="<{$xoops_url}>/viewpmsg.php">
<
img src="<{$xoops_imageurl}>images/prvmsg_on.jpg" alt=You&nbsp;have&nbsp;<{$msgcount}>
&
nbsp;new&nbsp;message border="0" /></a>
<{else}>
&
nbsp;<a href="<{$xoops_url}>/viewpmsg.php">
<
img src="<{$xoops_imageurl}>images/prvmsg_off.jpg"
 
alt="You have no new messages" border="0" /></a>
<{/if}>

&
nbsp;&nbsp;<a href="<{$xoops_url}>/user.php" align="middle">
<{
$xoops_uname}></a>&nbsp;&nbsp;
<
a href="<{$xoops_url}>/user.php?op=logout">
<
img src="<{$xoops_imageurl}>images/exit_small.jpg" alt="EXIT" border="0" /></a
<{else}> 
<
form style="margin-top: 0px; margin-bottom: 0px" 
action="<{$xoops_url}>/user.php" method="post">
&
nbsp;<img src="<{$xoops_imageurl}>images/username_small.jpg" 
alt="Username" border="0" width="16" height="16" align="middle" /> 
<
input name="uname" type="text" value="" size="14" />
<
img src="<{$xoops_imageurl}>images/password_small.jpg" 
alt="Password" border="0" width="16" height="16" align="middle" />
<
input name="pass" type="password" value="" size="12" /> 
<
input name="op" type="hidden" value="login" />
<
input name="submit" type="submit" value="<{$smarty.const._LOGIN}>" />&nbsp
</
form
<{/if}></
td
<
td align="left" class="headercenter"
<{if 
$xoops_isuser}> <{else}> 
<
form style="margin-top: 0px; margin-bottom: 0px" 
action="<{$xoops_url}>/register.php" method="post"
<
input name="submit" type="submit" value="<{$smarty.const._REGISTER}>" /> 
</
form
<{/if}> </
td>
<
td width="*" align="right" class="headersearch"
<
form style="margin-top: 0px; margin-bottom: 0px" 
action="<{$xoops_url}>/search.php" method="post">
&
nbsp;&nbsp;
<
a href="<{$xoops_url}>/search.php">
<
img src="<{$xoops_imageurl}>images/search_small.jpg" 
alt="Advanced Search" border="0" width="16" height="16" align="middle" /></a>
<
input name="query" type="text" size="15" class="button" /> 
<
input name="action" type="hidden" value="results" />
<
input name="submit" type="submit" value="<{$smarty.const._SEARCH}>" />&nbsp;&nbsp;
</
form></td
</
tr
</
table>


It does more things and you will have to do some changes to use it ... but it is a start :)

Stefan
..



984
stefan88
Re: Cant set site title with cp1251
  • 2005/8/1 14:55

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

if you are using apache, you may need to add in httpd.conf "AddLanguage" and "LanguagePriority" ...

Stefan
..



985
stefan88
Re: Anyone have News 1.3.11 available for download?
  • 2005/7/27 17:06

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi, I uploaded what I have to rapidshare. Here is the link:

http://rapidshare.de/files/3405884/xoops2_mod_news_1.3.11.zip.html
..



986
stefan88
Re: Help to solve server hack please
  • 2005/7/15 7:22

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


did you checked theme.html?
..



987
stefan88
Re: sorry
  • 2005/7/13 6:48

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


It is in templates --> system --> system_redirect.html

It is a good idea to clone your templates before making any changes:)
..



988
stefan88
Re: PopnupBlog usage
  • 2005/7/13 5:57

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi, here is a link:

http://www.bluemooninc.biz/~xoops2/modules/pukiwiki/?PopnupBlog

As for the tumbs, they are created by popnupblog, but you have to create thumbs folder and have the right permitions. You will also need GD library and will have to edit pop.ini.php file in popnupblog dir.
..



989
stefan88
Re: Upgrade Xoops 2.0.6 to 2.0.13
  • 2005/7/12 18:54

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


I think you shuld be careful if you use newer news or newbb modules. I'm not shure, but think in some of those updates files for news1 and newbb1 are included ...
..



990
stefan88
Re: Blocks ordering
  • 2005/7/9 14:47

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


If you don't have right block, you could edit your theme file to show it under the CL and CR block. Then if you set in admin a block to be placed in right it will show in center under CL and CR.
..




TopTop
« 1 ... 96 97 98 (99) 100 101 102 ... 104 »



Login

Who's Online

186 user(s) are online (115 user(s) are browsing Support Forums)


Members: 0


Guests: 186


more...

Donat-O-Meter

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

Latest GitHub Commits