11
angaran
Problem with redirections
  • 2006/4/23 8:08

  • angaran

  • Not too shy to talk

  • Posts: 103

  • Since: 2003/8/17


Hi,
I have a site using XOOPS 2.2.4 and every time there is a redirection ( for example when a user is logged in or the user posts a message ) the site add a "?" to the redirection URL. So if the URL was

http://www.mysite.com/modules/news/index.php

it becomes

http://www.mysite.com/modules/news/index.php?

With the question marks on the URL string I have some problems because even when the user is redirected to download a file the site append this "?" and the file isn't found.

What can I do?

Thanks for your help!



12
angaran
Re: Generating Templates will increase performance?
  • 2006/1/23 21:05

  • angaran

  • Not too shy to talk

  • Posts: 103

  • Since: 2003/8/17


My question was: if I click the Generate Button next to the template name in the administration section will I gain performance?

Thx



13
angaran
Generating Templates will increase performance?
  • 2006/1/21 23:38

  • angaran

  • Not too shy to talk

  • Posts: 103

  • Since: 2003/8/17


Is it usefull in this way?

Thx



14
angaran
Re: Is there any alternative to MultiMenu?
  • 2006/1/11 22:23

  • angaran

  • Not too shy to talk

  • Posts: 103

  • Since: 2003/8/17


I will try it. Thanks for your reply !



15
angaran
Is there any alternative to MultiMenu?
  • 2006/1/11 17:42

  • angaran

  • Not too shy to talk

  • Posts: 103

  • Since: 2003/8/17


Hi,
I've been using MultiMenù on my old server. Now I use a virtual server with 128 MB of RAM and it seems that MultiMenu is too heavy for it.

Do you know if there is a goog alternative or if there's a way to make MM perform better?
Thx



16
angaran
Re: "Substringing" in Xoops
  • 2006/1/3 19:01

  • angaran

  • Not too shy to talk

  • Posts: 103

  • Since: 2003/8/17


Thank you!! I will try and I'll post the code if I'm able to do it!

Bye!



17
angaran
"Substringing" in Xoops
  • 2006/1/3 14:51

  • angaran

  • Not too shy to talk

  • Posts: 103

  • Since: 2003/8/17


Hi,
do you know if there is a function in XOOPS or PHP that is able to do the substring job but without cutting words ( using spaces as references )?

Thank you!



18
angaran
Not really a bug but...
  • 2005/11/24 10:57

  • angaran

  • Not too shy to talk

  • Posts: 103

  • Since: 2003/8/17


While looking at my site HTML source code i noticed that many images have a link like

http://www.mysite.com/themes/mytheme//images/image.gif

In the theme.html file the url are retrieved with the help of the Smarty variable "xoops_imageurl".

I looked in the theme.php class and noticed that this variable is defined with a trailing slash.

With this kind of definition the theme.html would be written with a code like this:

<{$xoops_imageurl}>images/image.gif


instead of

<{$xoops_imageurl}>/images/image.gif


What do you think is the right way? However the images are loaded correctly even with the double slash



19
angaran
Posting on forum when a news is published
  • 2005/11/17 20:11

  • angaran

  • Not too shy to talk

  • Posts: 103

  • Since: 2003/8/17


Hi,
is it possible, with News 1.42 and CBB 2.30, to auto-create a topic in a specific forum when a news is published?

Or do you know if there's such an hack? It would be great if comment to the news are treated as post in that topic and vice versa.

Thx for your reply,
Stefano



20
angaran
Re: Comment display in IE
  • 2005/11/4 17:32

  • angaran

  • Not too shy to talk

  • Posts: 103

  • Since: 2003/8/17


I solved it! Adding

<div style="clear:both;"></div>


At the end of the system_comment template so it look lke this now:

<div class="comContainer">
        <
div class="com_tl"><div class="com_tr"><div class="com_br"><div class="com_bl"
            <
h2 class="comTitle"><a id="comment<{$comment.id}>"></a><{$comment.image}><{$comment.title}></h2>
            <
div class="comIcons">
                <{if 
$xoops_iscommentadmin == true}>
                        <
a href="<{$editcomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/themes/default/images/edit_small.gif" width="16" height="16" alt="<{$lang_edit}>" title="<{$lang_edit}>" /></a>&nbsp;<a href="<{$deletecomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/themes/default/images/delete_small.gif" width="16" height="16" alt="<{$lang_delete}>" title="<{$lang_delete}>" /></a>&nbsp;<a href="<{$replycomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/themes/default/images/reply_small.gif" width="16" height="16" alt="<{$lang_reply}>" title="<{$lang_reply}>" /></a>
                <{elseif 
$xoops_isuser == true && $xoops_userid == $comment.poster.id}>
                        <
a href="<{$editcomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/themes/default/images/edit_small.gif" width="16" height="16" alt="<{$lang_edit}>" /></a>&nbsp;
                        <
a href="<{$replycomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/themes/default/images/reply_small.gif" width="16" height="16" alt="<{$lang_reply}>" /></a>
                <{elseif 
$xoops_isuser == true || $anon_canpost == true}>
                        <
a href="<{$replycomment_link}>&amp;com_id=<{$comment.id}>"><img src="<{$xoops_url}>/themes/default/images/reply_small.gif" width="16" height="16" alt="<{$lang_reply}>" /></a>
                <{/if}>
            </
div>
      
  <
div>
                    <
span class="comDateCaption"><{$lang_posted}>:</span> <{$comment.date_posted}>&nbsp;&nbsp;<span class="comDateCaption"><{$lang_updated}>:</span> <{$comment.date_modified}>
    </
div>

                <{if 
$comment.poster.id != 0}>
                    <
div class="comUserdetails">
                        <
img class="comUserImg" src="<{$xoops_upload_url}>/<{$comment.poster.avatar}>" alt="" /><br />
                        <
span class="comUserName"><{$comment.poster.uname}></span><br />
                        <
img class="comUserRankImg" src="<{$xoops_upload_url}>/<{$comment.poster.rank_image}>" alt="" /><br />
                        <
span class="comUserName"><{$comment.poster.rank_title}></span><br />
                        <
span class="comUserStatCaption"><{$lang_joined}>:</span> <{$comment.poster.regdate}><br />
                        <
span class="comUserStatCaption"><{$lang_from}>:</span> <{$comment.poster.from}><br />
                        <
span class="comUserStatCaption"><{$lang_posts}>:</span> <{$comment.poster.postnum}><br />
                        <
span class="comUserStatus"><{$comment.poster.status}></span>
                    </
div>
                <{/if}>
                        
  <
div class="comText">
      <{
$comment.text}>
  </
div>
<
div style="clear:both;"></div>

</
div></div></div></div></div>


Hope to help!




TopTop
« 1 (2) 3 4 5 ... 8 »



Login

Who's Online

183 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 183


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