91
mariane
Re: Yahoo Style News display - News Module
  • 2010/7/20 16:43

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


adopt the same way to news module, try it
the road of success is always under construction



92
mariane
Re: Delete all posts/comments from user
  • 2010/7/20 16:39

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


thank you Deepak, I learn a lot from your participations in xoops.org ,thanks to giving me this chance to help you in something.
try the module , I think you will find it useful
the road of success is always under construction



93
mariane
Re: I Need a module for news/articles
  • 2010/7/20 16:30

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


I think it's available on www.xuups.com
the road of success is always under construction



94
mariane
Re: I Need a module for news/articles
  • 2010/7/20 13:38

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


I advice you to use publisher module it's 4 modules merged in one : smartsection, smartobject, news and latest news.
the road of success is always under construction



95
mariane
Re: Yahoo Style News display - News Module
  • 2010/7/20 13:32

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


my code will be based on publisher,so you dont have to change anything manualy with each update of your website.
the standard way to add it to your theme is the following :
- download the effect from here then unzip the folder
- put the js folder inside your theme
- edit your theme.html , and in the js area put this code :
<script type="text/javascript" src="<{$xoops_imageurl}>js/jquery-1.2.6.min.js"> </script>
<
script type="text/javascript" src="<{$xoops_imageurl}>js/jquery-easing-1.3.pack.js"> </script>
<
script type="text/javascript" src="<{$xoops_imageurl}>js/jquery-easing-compatibility.1.2.pack.js"> </script>
<
script type="text/javascript" src="<{$xoops_imageurl}>js/coda-slider.1.1.1.pack.js"> </script>


also in the theme.html , and before the </head> immediatly put this code :
<script type="text/javascript">
    
        var 
theInt null;
        var 
$crosslink$navthumb;
        var 
curclicked 0;
        
        
theInterval = function(cur){
            
clearInterval(theInt);
            
            if( 
typeof cur != 'undefined' )
                
curclicked cur;
            
            
$crosslink.removeClass("active-thumb");
            
$navthumb.eq(curclicked).parent().addClass("active-thumb");
                $(
".stripNav ul li a").eq(curclicked).trigger('click');
            
            
theInt setInterval(function(){
                
$crosslink.removeClass("active-thumb");
                
$navthumb.eq(curclicked).parent().addClass("active-thumb");
                $(
".stripNav ul li a").eq(curclicked).trigger('click');
                
curclicked++;
                if( 
== curclicked )
                    
curclicked 0;
                
            }, 
3000);
        };
        
        $(function(){
            
            $(
"#main-photo-slider").codaSlider();
            
            
$navthumb = $(".nav-thumb");
            
$crosslink = $(".cross-link");
            
            
$navthumb
            
.click(function() {
                var 
$this = $(this);
                
theInterval($this.parent().attr('href').slice(1) - 1);
                return 
false;
            });
            
            
theInterval();
        });
    </
script>

now it's time to put the slider, create a folder inside your theme for images and call it images or img, as you want.
then edit again your theme.html, choose where you want to put the slider.
past this code please , I xoopsified it to you , it means instead src="images/abc.jpg" , I put the xoops link :="<{xoImgUrl images/abc.jpg}>" :
use this code please :

<div id="page-wrap">
                                            
    <
div class="slider-wrap">
        <
div id="main-photo-slider" class="csw">
            <
div class="panelContainer">

                <
div class="panel" title="Panel 1">
                    <
div class="wrapper">
                        <
img src="<{xoImgUrl images/tempphoto-1.jpg}>" alt="temp" />
                        <
div class="photo-meta-data">
                            
Photo Credit: <a href="http://flickr.com/photos/astrolondon/2396265240/">Kaustav Bhattacharya</a><br />
                            <
span>"Free Tibet" Protest at the Olympic Torch Rally</span>
                        </
div>
                    </
div>
                </
div>
                <
div class="panel" title="Panel 2">
                    <
div class="wrapper">
                        <
img src="<{xoImgUrl images/tempphoto-2.jpg}>" alt="temp" />
                        <
div class="photo-meta-data">
                            
Chicago Bears at Seattle Seahawks<br />
                            <
span>Fifth field goalovertime win for the Seahawks</span>
                        </
div>
                    </
div>
                </
div>        
                <
div class="panel" title="Panel 3">
                    <
div class="wrapper">
            
                        <
img src="<{xoImgUrl images/scotch-egg.jpg}>" alt="scotch egg" class="floatLeft"/>
                        
                        <
h1>How to Cook a Scotch Egg</h1>
                        
                        <
ul>
                            <
li>6 hard-boiled eggswell chilled (try to cook them to just past soft boiled stagethen stick them in the coldest part of the fridge to firm up)</li>
                            <
li>1 pound good quality sausage meat (i used ground turkey meatseasoned with sagewhite peppersalt and a tiny bit of maple syrup)</li>
                            <
li>1/2 cup AP flour</li>
                            <
li>1-2 eggsbeaten</li>
                            <
li>3/4 cup panko-style bread crumbs</li>
                            <
li>Vegetable oil for frying</li>
                        </
ul>
                    </
div>
                </
div>
                <
div class="panel" title="Panel 4">
                    <
div class="wrapper">
                        <
img src="<{xoImgUrl images/tempphoto-4.jpg}>" alt="temp" />
                        <
div class="photo-meta-data">
                            
A Poem by Shel Silverstein<br />
                            <
span>Falling Up</span>
                        </
div>
                    </
div>
                </
div>
                <
div class="panel" title="Panel 5">
                    <
div class="wrapper">
                        <
img src="<{xoImgUrl images/tempphoto-5.jpg}>" alt="temp" />
                        <
div class="photo-meta-data">
                            New 
Video on CSS-Tricks<br />
                            <
span>Using Wufoo for Web Forms</span>
                        </
div>
                    </
div>
                </
div>
                <
div class="panel" title="Panel 6">
                    <
div class="wrapper">
                        <
h1>A Tale of Two Cities</h1>
                        <
p><em>Charles Dickins</em></p>
                        <
blockquote>It was the best of timesit was the worst of timesit was the age of wisdomit was the age of foolishnessit was the epoch of beliefit was the epoch of incredulityit was the season of Lightit was the season of Darknessit was the spring of hopeit was the winter of despairwe had everything before uswe had nothing before uswe were all going direct to heavenwe were all going direct the other way in shortthe period was so far like the present periodthat some of its noisiest authorities insisted on its being received, for good or for evilin the superlative degree of comparison only.</blockquote>
                    </
div>
                </
div>

            </
div>
        </
div>

        <
a href="#1" class="cross-link active-thumb"><img src="<{xoImgUrl images/tempphoto-1thumb.jpg}>" class="nav-thumb" alt="temp-thumb" /></a>
        <
div id="movers-row">
            <
div><a href="#2" class="cross-link"><img src="<{xoImgUrl images/tempphoto-2thumb.jpg}>" class="nav-thumb" alt="temp-thumb" /></a></div>
            <
div><a href="#3" class="cross-link"><img src="<{xoImgUrl images/tempphoto-3thumb.jpg}>" class="nav-thumb" alt="temp-thumb" /></a></div>
            <
div><a href="#4" class="cross-link"><img src="<{xoImgUrl images/tempphoto-4thumb.jpg}>" class="nav-thumb" alt="temp-thumb" /></a></div>
            <
div><a href="#5" class="cross-link"><img src="<{xoImgUrl images/tempphoto-5thumb.jpg}>" class="nav-thumb" alt="temp-thumb" /></a></div>
            <
div><a href="#6" class="cross-link"><img src="<{xoImgUrl images/tempphoto-6thumb.jpg}>" class="nav-thumb" alt="temp-thumb" /></a></div>
        </
div>

    </
div>
    
    </
div>


and the final step is the css :
- paste this code to your style.css used in your theme
/*
    UTILITY STYLES
*/                                    
                                        
.floatLeft                                     floatleftmargin-right10px;}
.
floatRight                                    floatright; }
.
clear                                         clearboth; }
a                                            outlinenone; }


/*
    PAGE STRUCTURE
*/
#page-wrap                                     { width: 500px; margin: 25px auto; position: relative; min-height: 500px;
                                              
backgroundurl(images/bg.pngtop center; }


/*
    TYPOGRAPHY
*/
ul                                            { list-stylesquare inside; }
aa:visited                                color#729dff; text-decoration: none; }
a:hovera:active                            colorwhite; }
blockquote                                    padding0 20pxmargin-left20pxborder-left20px solid #ccc; font-size: 14px; 
                                                
font-familyGeorgiaseriffont-styleitalicmargin-top10px;}

/*
    SLIDER
*/
.slider-wrap                                width419pxpositionabsolutetop87pxleft40px; }            
.
stripViewer .panelContainer 
.panel ul                                    text-alignleftmargin0 15px 0 30px; }
.
stripViewer                                positionrelativeoverflowhiddenwidth419pxheight285px; }
.
stripViewer .panelContainer                positionrelativeleft0top0; }
.
stripViewer .panelContainer .panel            floatleftheight100%; positionrelativewidth419px; }
.
stripNavL, .stripNavR, .stripNav            displaynone; }
.
nav-thumb                                     border1px solid blackmargin-right5px; }
#movers-row                                    { margin: -43px 0 0 62px; }
#movers-row div                                { width: 20%; float: left; }
#movers-row div a.cross-link                 { float: right; }
.photo-meta-data                            backgroundurl(images/transpBlack.png); padding10pxheight30px
                                              
margin-top: -50pxpositionrelativez-index9999colorwhite; }
.
photo-meta-data span                         font-size13px; }
.
cross-link                                    displayblockwidth62pxmargin-top: -14px
                                              
positionrelativepadding-top15pxz-index9999; }
.
active-thumb                                 backgroundtransparent url(images/icon-uparrowsmallwhite.pngtop center no-repeat; }

and dont forget to copy all icons and pictures inside the FeaturedContentSlider/images into your images folder inside the theme.

- clear the cach, and that's it.
by this way each time you add a new article, you have to create an image and a thumbnail with the same sizes used in the slider, then upload them to yourtheme/images, and change the name if necessary also write the headlines of the article under the class into the div in each panel.

my way , or what I am working on, is to make this slider woking automaticly with publisher, and as I told you it will be online soon.
try this code and let me know the result


the road of success is always under construction



96
mariane
Re: Delete all posts/comments from user
  • 2010/7/20 10:01

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


hello , this is the english translation

//%%%%%% Comment Manager %%%%%
define('_MD_AM_COMMMAN','Comments Management');

define('_MD_AM_LISTCOMM','List of Comments');
define('_MD_AM_ALLMODS','All Modules');
define('_MD_AM_ALLSTATUS','Any Status ');
define('_MD_AM_MODULE','Module');
define('_MD_AM_COMFOUND','There is %s comments');

// By yoshis at Bluemooninc.biz
define("_MD_AM_AYSYWTDU","Are you sure you want to delete this comment?<b>%s</b>?");


by the way there is a module by Onasr to delete mass comments
http://www.arabxoops.com/modules/mydownloads/visit.php?cid=3&lid=357

also you can delete all posts for any user from the phpmyadmin , for example if you need to delete comments posted by user id=3 from the forum :
- go to your phpmyadmin
- choose the table name for example : xxxbb_post
- click on mysql
- choose from fields uid,
- you will get a message : delete from this table, posts where uid = 3 (for example)
- choose yes and that's all.
the road of success is always under construction



97
mariane
Re: Which newsletter module for Xoops 2.4.4?
  • 2010/7/20 9:43

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


you can use an editor with the module to make necessary design to your newsletter, but pay attention some servers deny you to send mass emails or reduce the number of letters per hours, so it isnt a bug from the module
the road of success is always under construction



98
mariane
Re: Yahoo Style News display - News Module
  • 2010/7/20 9:37

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


hello, I am preparing a theme,in it I integrate featured content slider with publisher,maybe it can help you.
by this way each news added to publisher will be automaticly shown in the block.
I think the end of this week it will be published.
the road of success is always under construction



99
mariane
Re: New javascript-based captcha for XOOPS
  • 2010/7/10 18:36

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


in this case can we add it for many modules e.g mylinks?
thanks
the road of success is always under construction



100
mariane
Re: newbb module - Selected module does not exist!
  • 2010/7/8 14:22

  • mariane

  • Theme Designer

  • Posts: 649

  • Since: 2008/1/11


are you using a rewrite mode in your website?
the road of success is always under construction




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



Login

Who's Online

260 user(s) are online (172 user(s) are browsing Support Forums)


Members: 0


Guests: 260


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