xoops forums

Forum Index


Board index » All Posts (Will_H)




Will_H

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

Re: define Standard Templates for theme developers - your idea

Most creative thing I have done since becoming a member of this community in 2004 was saying this.

Goodbye XOOPS.


Will_H

Friend of XOOPS
Posted on: 2008/2/2 9:48
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#2

Re: define Standard Templates for theme developers - your idea

Gee, your opinions hold a lot of weight around here. Mr. I'm too much of a chicken #OOPS# to post under my real account.

This is XOOPS. This is what you and your buddies have made of it. :)


Will_H

Friend of XOOPS
Posted on: 2008/2/2 9:28
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#3

Re: define Standard Templates for theme developers - your idea

Too bad XOOPS is a Monarchy

Quote:

Depends who you ask...I would do it how evo does it:

In a theme I would define OpenTable, CloseTable functions and use that as a wrapper. For example, the OpenTable function would be the top and left of my block, the CloseTable function would be the right and bottom of my block.

Then any module dev could call those functions and throw their content in the middle and format it generically with .row1 .row2 .even .odd td,tr,hr,div...etc which i would have in my style.css because every module would use those same classes. And the theme would still look how i meant it to look in any module.

@marco theres my contribution


Benchmark our themes? Why not start where the trouble is... With the module devs. You devs are so insistent that we stay out of from under the hood, yet its ok for you to come out and run your keys down the side of our fresh paint job.

You all run around talking about contributions, and helping out the project... but when it comes down to it you are just blowing smoke up our asses....

Why is it that aphex was the only designer on the design team? Anyone? Yeah... its bull #OOPS#. Why is it that kris can run around peddling his work as the standard for XOOPS without actually consulting the design community about it.

Why is it that "First Official Theme Contest For XOOPS" is being highlighted... Someone had to approve the article which makes it official, yet all of a sudden no one wants to sit next to kris.

The whole system is stupid. You all sit over on sourceforge while the rest of us actually sit in the project site. This theme contest should have never been hidden like it was, and I dont want to hear for one second in some half ass attempt at english that it wasn't.

If this was ever about the #OOPS#ing community it would have been decided on by the community, not some piece of #OOPS# on a power trip.


Will_H

Friend of XOOPS
Posted on: 2008/2/2 5:01
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#4

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

of course I did.

btw, who was right and who was wrong?

Looks like the problem was with ... gasp extgal...


Will_H

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

Re: Looking for a simple clan roster module

Team module working again? Thats awesome!


Will_H

Friend of XOOPS
Posted on: 2008/2/1 23:28
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#6

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

Ok got it working

Fixed to make pdf

// eXtGallery Hack
$patterns[] = "/[gallery]([0-9]*)[/gallery]/sU";
$replacements[] = '<a href="'.XOOPS_URL.'/modules/extgallery/hook-photo.php?id=\1.jpg" rel="lightbox"><img src="'.XOOPS_URL.'/modules/extgallery/hook-thumb.php?id=\1.jpg" alt="" /></a>';

$patterns[] = "/[gallery title=(['"]?)([ a-zA-Z0-9]*)\1]([0-9]*)[/gallery]/sU";
$replacements[] = '<a href="'.XOOPS_URL.'/modules/extgallery/hook-photo.php?id=\3.jpg" rel="lightbox" title="\2" alt="\2"><img src="'.XOOPS_URL.'/modules/extgallery/hook-thumb.php?id=\3.jpg" alt="\2" title="\2" /></a>';

$patterns[] = "/[gallery group=(['"]?)([a-zA-Z0-9]*)\1]([0-9]*)[/gallery]/sU";
$replacements[] = '
<a href="'.XOOPS_URL.'/modules/extgallery/hook-photo.php?id=\3.jpg" rel="lightbox[\2]"><img src="'.XOOPS_URL.'/modules/extgallery/hook-thumb.php?id=\3.jpg" alt="" /></a>';

$patterns[] = "/[gallery group=(['"]?)([a-zA-Z0-9]*)\1 title=(['"
]?)([ a-zA-Z0-9]*)\3]([0-9]*)[/gallery]/sU";
$replacements[] = '<a href="'.XOOPS_URL.'/modules/extgallery/hook-photo.php?id=\5.jpg" rel="lightbox[\2]" title="\4" alt="\4"><img src="'.XOOPS_URL.'/modules/extgallery/hook-thumb.php?id=\5.jpg" title="\4" alt="\4" /></a>';

$patterns[] = "/[gallery title=(['"]?)([ a-zA-Z0-9]*)\1 group=(['"]?)([a-zA-Z0-9]*)\3]([0-9]*)[/gallery]/sU";
$replacements[] = '<a href="'.XOOPS_URL.'/modules/extgallery/hook-photo.php?id=\5.jpg" rel="lightbox[\4]" title="\2" alt="\2"><img src="'.XOOPS_URL.'/modules/extgallery/hook-thumb.php?id=\5.jpg" title="\2" alt="\2" /></a>';
// End eXtGallery Hack


Will_H

Friend of XOOPS
Posted on: 2008/2/1 23:25
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#7

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

Listen.

The makepdf is set to recognize images.

So lets try and trick it into thinking these are images.

original
// eXtGallery Hack
$patterns[] = "/[gallery]([0-9]*)[/gallery]/sU";
$replacements[] = '<a href="'.XOOPS_URL.'/modules/extgallery/hook-photo.php?id=\1" rel="lightbox"><img src="'.XOOPS_URL.'/modules/extgallery/hook-thumb.php?id=\1" alt="" /></a>';

$patterns[] = "/[gallery title=(['"]?)([ a-zA-Z0-9]*)\1]([0-9]*)[/gallery]/sU";
$replacements[] = '<a href="'.XOOPS_URL.'/modules/extgallery/hook-photo.php?id=\3" rel="lightbox" title="\2" alt="\2"><img src="'.XOOPS_URL.'/modules/extgallery/hook-thumb.php?id=\3" alt="\2" title="\2" /></a>';

$patterns[] = "/[gallery group=(['"]?)([a-zA-Z0-9]*)\1]([0-9]*)[/gallery]/sU";
$replacements[] = '
<a href="'.XOOPS_URL.'/modules/extgallery/hook-photo.php?id=\3" rel="lightbox[\2]"><img src="'.XOOPS_URL.'/modules/extgallery/hook-thumb.php?id=\3" alt="" /></a>';

$patterns[] = "/[gallery group=(['"]?)([a-zA-Z0-9]*)\1 title=(['"
]?)([ a-zA-Z0-9]*)\3]([0-9]*)[/gallery]/sU";
$replacements[] = '<a href="'.XOOPS_URL.'/modules/extgallery/hook-photo.php?id=\5" rel="lightbox[\2]" title="\4" alt="\4"><img src="'.XOOPS_URL.'/modules/extgallery/hook-thumb.php?id=\5" title="\4" alt="\4" /></a>';

$patterns[] = "/[gallery title=(['"]?)([ a-zA-Z0-9]*)\1 group=(['"]?)([a-zA-Z0-9]*)\3]([0-9]*)[/gallery]/sU";
$replacements[] = '<a href="'.XOOPS_URL.'/modules/extgallery/hook-photo.php?id=\5" rel="lightbox[\4]" title="\2" alt="\2"><img src="'.XOOPS_URL.'/modules/extgallery/hook-thumb.php?id=\5" title="\2" alt="\2" /></a>';
// End eXtGallery Hack


As .jpgs
// eXtGallery Hack
$patterns[] = "/[gallery]([0-9]*)[/gallery]/sU";
$replacements[] = '<a href="'.XOOPS_URL.'/modules/extgallery/hook-photo.php?id=\1.jpg" rel="lightbox"><img src="'.XOOPS_URL.'/modules/extgallery/hook-thumb.php?id=\1" alt="" /></a>';

$patterns[] = "/[gallery title=(['"]?)([ a-zA-Z0-9]*)\1]([0-9]*)[/gallery]/sU";
$replacements[] = '<a href="'.XOOPS_URL.'/modules/extgallery/hook-photo.php?id=\3.jpg" rel="lightbox" title="\2" alt="\2"><img src="'.XOOPS_URL.'/modules/extgallery/hook-thumb.php?id=\3" alt="\2" title="\2" /></a>';

$patterns[] = "/[gallery group=(['"]?)([a-zA-Z0-9]*)\1]([0-9]*)[/gallery]/sU";
$replacements[] = '
<a href="'.XOOPS_URL.'/modules/extgallery/hook-photo.php?id=\3.jpg" rel="lightbox[\2]"><img src="'.XOOPS_URL.'/modules/extgallery/hook-thumb.php?id=\3" alt="" /></a>';

$patterns[] = "/[gallery group=(['"]?)([a-zA-Z0-9]*)\1 title=(['"
]?)([ a-zA-Z0-9]*)\3]([0-9]*)[/gallery]/sU";
$replacements[] = '<a href="'.XOOPS_URL.'/modules/extgallery/hook-photo.php?id=\5.jpg" rel="lightbox[\2]" title="\4" alt="\4"><img src="'.XOOPS_URL.'/modules/extgallery/hook-thumb.php?id=\5" title="\4" alt="\4" /></a>';

$patterns[] = "/[gallery title=(['"]?)([ a-zA-Z0-9]*)\1 group=(['"]?)([a-zA-Z0-9]*)\3]([0-9]*)[/gallery]/sU";
$replacements[] = '<a href="'.XOOPS_URL.'/modules/extgallery/hook-photo.php?id=\5.jpg" rel="lightbox[\4]" title="\2" alt="\2"><img src="'.XOOPS_URL.'/modules/extgallery/hook-thumb.php?id=\5" title="\2" alt="\2" /></a>';
// End eXtGallery Hack


I went ahead and implemented this on your site. They have a .jpg extension at the very end... but thats only after its been terminated by the .php?id=64

Right now it reads like .php?id=64.jpg

Yeah, extgal hooks still work. Properties shows em with a .jpg extension at the end... but... .php?id=64 kills it.


Will_H

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

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

you missed my post.

The problem is extgal...

Should I even bother posting, as it seems you refuse to listen to me.


Will_H

Friend of XOOPS
Posted on: 2008/2/1 23:05
Will_H
Will_H (Show more)
Friend of XOOPS
Posts: 1786
Since: 2004/10/10
#9

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

sure you can, you just have to add a few lines to the imagemanager to make the script think its a png.

Or if you need gif support that bad, you can update your tcpdf. As they have finally added gif support.

Again, php != image format man.

Zhollou will need to rethink his script if he wants extgal to work with all XOOPS functions. What you need to do is stroll over to HIS website and post a bug report.

This has nothing to do with the XOOPS core. It is his module that is causing your problem.

if you look in the uploads directory the images are not stored as php


Will_H

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

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

dude... php is not an image type.

Just like before tcpdf did not support gif because it costs money to support gif.

It has nothing to do with bbcode... thats ludicrous. Right click one of the thumbs and look at the image properties man.

Then open up Irfanview and try to save anything as php.

php != image.

Solution = Get module dev to output images in usable format.

Regardless of what version we are using that doesn't make php an image type.



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