1
Will_H
Re: define Standard Templates for theme developers - your idea
  • 2008/2/2 10:06

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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

Goodbye XOOPS.



2
Will_H
Re: define Standard Templates for theme developers - your idea
  • 2008/2/2 9:48

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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. :)



3
Will_H
Re: define Standard Templates for theme developers - your idea
  • 2008/2/2 9:28

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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.



4
Will_H
Re: Lightbox, gallery tags, news 1.56 & Pdf problems with TCPDF error
  • 2008/2/2 5:01

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


of course I did.

btw, who was right and who was wrong?

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



5
Will_H
Re: Looking for a simple clan roster module
  • 2008/2/1 23:30

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


Team module working again? Thats awesome!



6
Will_H
Re: Lightbox, gallery tags, news 1.56 & Pdf problems with TCPDF error
  • 2008/2/1 23:28

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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



7
Will_H
Re: Lightbox, gallery tags, news 1.56 & Pdf problems with TCPDF error
  • 2008/2/1 23:25

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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.



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

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


you missed my post.

The problem is extgal...

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



9
Will_H
Re: Lightbox, gallery tags, news 1.56 & Pdf problems with TCPDF error
  • 2008/2/1 23:05

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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



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

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


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 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

56 user(s) are online (40 user(s) are browsing Support Forums)


Members: 2


Guests: 54


liomj, heyula,

more...

Donat-O-Meter

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

Latest GitHub Commits