11
Will_H
Re: Looking for a simple clan roster module
  • 2008/2/1 22:20

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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



12
Will_H
Re: Lightbox, gallery tags, news 1.56 & Pdf problems with TCPDF error
  • 2008/2/1 22:09

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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.



13
Will_H
Re: Lightbox, gallery tags, news 1.56 & Pdf problems with TCPDF error
  • 2008/2/1 21:52

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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.



14
Will_H
Re: Lightbox, gallery tags, news 1.56 & Pdf problems with TCPDF error
  • 2008/2/1 21:41

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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.



15
Will_H
Re: How do you turn standard HTML theme to xoops theme ?
  • 2008/1/30 19:52

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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.



16
Will_H
Re: define Standard Templates for theme developers - your idea
  • 2008/1/30 16:40

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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.



17
Will_H
Re: Extgallery <{if $xoops_isadmin}> [gallery]299[/gallery] Tag Is still shown to anonymous
  • 2008/1/30 15:46

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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 -->



18
Will_H
Re: Busy designer needs prefab xoops package. Content , data & modules preinstalled into xoops packa
  • 2008/1/28 17:47

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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.



19
Will_H
Re: Busy designer needs prefab xoops package. Content , data & modules preinstalled into xoops package.
  • 2008/1/28 17:22

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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.



20
Will_H
Re: Busy designer needs prefab xoops package. Content , data & modules preinstalled into xoops package.
  • 2008/1/28 17:05

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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 »



Login

Who's Online

223 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 223


more...

Donat-O-Meter

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

Latest GitHub Commits