1
marcionline
Re: Do you know this theme...

I'm not sure but I think it is "aston_flower".



2
marcionline
Re: Any Smarty way to check we are in front page of a site?

There is also this similar topic:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=59452



3
marcionline
Re: SEO Hack for news Module

I've tried your hack but with no success.

I use XOOPS 2.2.4, news 1.53 and my server is running Apache.

URLs are rewritten but when I click on them I get 404 error.

I use a subdirectory folder (http://www.mistershare.org/home/). Would be that the reason?

Rewritten URL:http://www.mistershare.org/home/noticia-132-trailer-bee-movie.html
Original URL:http://www.mistershare.org/home/modules/news/article.php?storyid=132

I have a doubt: Do I need to put the Rewrite rules in htaccess inside news folder (/modules/news/.htaccess) or in XOOPS root directory (/.htaccess)?

Thanks in advance!



4
marcionline
Re: the Perfect DHTML HACK for Xoops ( easier than WYSIWYG)

Does it work with XOOPS 2.2.X core ?



5
marcionline
Re: AncestralNights.com

A beautiful design!



6
marcionline
Re: XOOPS Codes Explained

Quote:

adrock wrote:
when submitting the p[ost...simply uncheck the checkbox that says 'Use XOOPS Code' before submitting.

Yahoo <--- see!


Let me change my question:

I want use XOOPS Code but in certain part of post I just want disable them.

Is that possible in XOOPS ?



7
marcionline
Re: XOOPS Codes Explained

Is there a way to disable XOOPS Codes just for a moment?

For example, in vBulletin you can use [noparse][ b]text [/ b][/noparse]. So the text inside those tags is not processed and will be showed exactly as typed (in example above, [ b]text[/ b] would be showed).

In XOOPS, if you type [ code][ b]text[/ b][/ code], for example, the text [ b]text[/ b] is processed anyway, even if it is inside of [ code] tag.



8
marcionline
Re: last users comments to show in userinfo

You can try this Comments module.

The only thing that it does is to add last comements from user in user profile.



9
marcionline
Re: Quote comment(s) button?

Well, I have found a javascript that can be used to do something like I want but I don't know to integrate it into XOOPS comments form.

Here is the code:

<script>
var 
isNav4Min = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 4)
var 
isIE4Min = (navigator.appName.indexOf("Microsoft") != -&& parseInt(navigator.appVersion) >= 4)
function 
quoteSelection()
{
    var 
userSelection false;
    var 
textarea document.postform.message;

    if (
isNav4Min && window.getSelection() !=  '') {
        
userSelection window.getSelection();
    }
    else if (
isIE4Min && document.selection) {
        
userSelection document.selection.createRange().text;
    }

    if (
userSelection) {
        
insert_text'[quote]n' userSelection 'n[/quote]n'truefalse);
        
textarea.focus();
        
userSelection '';
        return;
    }
    else
    {
        
alert('Select a text in page and try again');
    }
}

</
script>


To use it is just to create a link like this:

<a href="#" onclick="quoteSelection(); return false;">Quote Selected</a>


How could I use it with XOOPS comments?

Thanks in advance.



10
marcionline
Re: New Spoiler Tag Hack!

I have made a new spoiler tag (adapted from BB Code) and I would like to share

$patterns[] = "/[spoiler](.*)[/spoiler]/sU";
$replacements[] = '<div style="margin:20px; margin-top:5px"><div class="quotetitle"><b>Spoiler:</b> <input type="button" value="Show" style="width:45px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }" /></div><div class="quotecontent"><div style="display: none;">\1</div></div></div>';


Just add the code to function xoopsCodeDecode in file class/module.textsanitizer.php and then make a test with [spoiler]Teste![/spoiler].








TopTop
(1) 2 3 4 ... 9 »



Login

Who's Online

267 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 267


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