xoops forums

Forum Index


Board index » All Posts (Will_H)




Will_H

Friend of XOOPS
Posted on: 2008/2/1 22:20
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#11

Re: Looking for a simple clan roster module

I recently started using <{include statement to integrate a little html file into my themes. Users can then customize the html file to display their clan roster.

its pretty cut and dry.

<div id="marqueecontainer" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">
<
div id="vmarquee" style="position: absolute; width: 98%; color: #efbe58;" class="gradualfader">

<!--
YOUR CLAN MEMBERS HERE // REPLACE THE UID TO LINK TO THEIR PROFILE. IF THEY ARENT REGISTERED, YOU CAN REMOVE THE <A> TAGS -->

<a href="<{$xoops_url}>/user.php?uid=1">Glory-Clan Leader</a><br />
-----------<
br />
<
a href="<{$xoops_url}>/user.php?uid=2">Pablo-Squad A Captain</a><br />
Str!k3r Squad A<br />
Pwnz0r Squad A<br />
-----------<
br />
<
a href="<{$xoops_url}>/user.php?uid=3">sT34LT-Squad B Captain</a><br />
SlickRick Squad B<br />
<
a href="<{$xoops_url}>/user.php?uid=3">Leth4l-Squad B</a><br />
-----------<
br />
<
br />
Unregistered

<!--END CLAN MEMBER LIST-->

</
div>
</
div>


Basically I just wrapped this little thing in a ja marquee and it scrolls at the bottom of the themes.

Resized Image


Will_H

Friend of XOOPS
Posted on: 2008/2/1 22:09
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#12

Re: Lightbox, gallery tags, news 1.56 & Pdf problems with TCPDF error

There is a bright side however.

tcpdf is not the only solution.

xhtml2pdf is allegedly good, and there is also the concept of using css to create a printable page.

CSS would probably be the simplest to implement. As it is essentially just copying your current css file and adding visibility: hidden; to all the aspects that you want hidden for printing. Then edit the template for news to load that css file instead of loading the pdf converter.


Will_H

Friend of XOOPS
Posted on: 2008/2/1 21:52
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#13

Re: Lightbox, gallery tags, news 1.56 & Pdf problems with TCPDF error

Quote:

Okay a little more info.

In order for the lightbox hack to work system wide. You need to hack two files with Zoullou code. Zoullou only tells you to hack one file.

/class/module.textsanitizer.php

But to get it working in news and other modules you also need to place the code here.

/Frameworks/textsanitizer/module.textsanitizer.php

So now we know how to get lightbox working we need to figure out which file it is that needs to be modified.


ok, one i said that months ago.... I even made a big fancy post on z's site about it..
two, you even reading my posts?

This has nothing to do with tcpdf, the script has its own limitations. php is not a recognizable image format so the script rejects it. You will need to get hook-photo.php to output a standard image format... jpg preferably.


Will_H

Friend of XOOPS
Posted on: 2008/2/1 21:41
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#14

Re: Lightbox, gallery tags, news 1.56 & Pdf problems with TCPDF error

Sounds like you are going to need to hack the image function. Because the hook hack loads hook-photo.php you will essentially need to add this as an allowable image type.

Also, god knows what version of tcpdf we use with xoops.

When this all boils down to completion it is going to land on the shoulders of the module dev. An image should always be output in a reusable format.


Will_H

Friend of XOOPS
Posted on: 2008/1/30 19:52
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#15

Re: How do you turn standard HTML theme to xoops theme ?

actually it's here.

The issue you may have with turning a static template into a functional XOOPS theme, is that templates are never really sliced correctly to become a XOOPS theme. More times than not you will have to modify images to work.

All depends on the templates though. A lot of patience will be needed if you are just starting out.

For your sake, I suggest you stay as far away from kris and whatever he tries to feed you as "xoops standards". I feel his contributions over complicate a relatively simple process.


Will_H

Friend of XOOPS
Posted on: 2008/1/30 16:40
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#16

Re: define Standard Templates for theme developers - your idea

I thought Aphex stepped down from the design team.

I was almost sure of it, because I remember saying.. welp, there goes the only designer on the design team... Guess I was wrong though.

Still funny.


Will_H

Friend of XOOPS
Posted on: 2008/1/30 15:46
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#17

Re: Extgallery <{if $xoops_isadmin}> [gallery]299[/gallery] Tag Is still shown to anonymous

dude...

try this

<!-- Start Displaying Hook code -->
            <{if 
$xoops_isadmin}>
<
div><input type="text" value='[gallery title="<{$photos[photo].photo_desc}>"]<{$photos[photo].photo_id}>[/gallery]' /></div>
                <{/if}>
<!-- 
End Displaying Hook code -->


Will_H

Friend of XOOPS
Posted on: 2008/1/28 17:47
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#18

Re: Busy designer needs prefab xoops package. Content , data & modules preinstalled into xoops packa

uhp, you are correct the install is in the modinfo.

However, after installation all your further cats, topics, posts go to the db.

As far as cloning the install goes... not sure without using the sql.


Will_H

Friend of XOOPS
Posted on: 2008/1/28 17:22
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#19

Re: Busy designer needs prefab xoops package. Content , data & modules preinstalled into xoops package.

its in the sql file.

When you install a module all it does is call on a sql file which creates tables in your db. If you want to customize the way it install open up the sql file and edit as needed.

(again, just pick a unique word from the welcome message, and search for it in the sql) edit save and you are done. as long as you replace the default sql with your custom one it will display your welcome message after you install cbb.

Same goes for any module, everything is controlled by sql.


Will_H

Friend of XOOPS
Posted on: 2008/1/28 17:05
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#20

Re: Busy designer needs prefab xoops package. Content , data & modules preinstalled into xoops package.

Just get everything set the way you want. Download a copy of the file structure. Download a copy of the database.

Now when you want to setup your clone you just upload your file structure, then configure your mainfile with your database info. Make sure your chmods are correct.

Go into phpmyadmin and import the backup of your database.

Refresh the page.

Bam, instant website clones.

It gets a little bit more tricky when you need to make changes in the sql. YOu need to do it ac ouple times before you knock out the search and replace. Otherwise you just make the changes via your admin panel.

(i.e. website name, emails blah blah blah.)

I do this all the time.



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