UBB.Dev
Posted By: Charles [6.2-6.3 ]The Panel Generator - 12/06/2002 11:22 PM
Mod Name / Version - The Panel Generator for UBB.threads 1.0

Description - This script allows users to create their own personalised Panel image, save it on HD and add link to post.
[]https://www.ubbdev.com/images/panels/9432-6456.png[/]

Features
  • Uses board's stylesheets
  • entirely wordletised thus available in all languages (right now english and french)
  • Uses censor list
  • numbers of chars allowed can be set-up in config file
  • checks refers to stop un-authorised websites using your CPU and bandwidth (we added hot-linking protection here)
  • uses UBB.threads smilies and codes in every language (other smilies can easly be added)
  • *hot* words that changes into images (kinda like smilies but for any image) unlimited number of images can be added to teh list
  • Users can upload their own image to add to panel and define a vertical alignement to match text
  • many different fonts and panel holders


Pre-requisites - server must have the GD library and compiled with ttfsupport

Author - Charles

Credits - Nekromantic, http://amg.sytes.net many thanks for having the original idea and letting me access his code and images.

Files Altered - ubbt_instant_ubbcode.tmpl (just for adding the link <img src="/threads/php/images/graemlins/wink.gif" alt="" /> )

Database Altered - none but some tables are added

New Files - many <img src="/threads/php/images/graemlins/crazy.gif" alt="" />

Known Bugs / limitations - the preview button does not seem to work under mozilla (for me at least)

Release Date - January 2003

Link - removed until updated

Demo - Right here on threadsdev <img src="/threads/php/images/graemlins/grin.gif" alt="" />

if you find ANY bug or problem please report them here <img src="/threads/php/images/graemlins/tongue.gif" alt="" />
Posted By: JustDave Re: The Panel Generator - 12/07/2002 12:07 AM
Looking really great Charles!
Posted By: JustDave Re: The Panel Generator - 12/07/2002 12:09 AM
Just a question. Do you want to provide a link to the generator for testing so users of the site can have a go at it?
Posted By: Gardener Re: The Panel Generator - 12/07/2002 12:11 AM
But you do have the possibility to demo it here on td, isn't that enough?
Posted By: Charles Re: The Panel Generator - 12/07/2002 12:29 AM
well there IS a link on all reply pages I don't really see where I could add some more
Posted By: JustDave Re: The Panel Generator - 12/07/2002 12:32 AM
LoL I hadn't noticed it there. I'm was looking for it in the menubar. LoL sorry
Posted By: Charles Re: The Panel Generator - 12/07/2002 12:43 AM
here are *some* of the hot words: amd,intel,ibm,cyrix,infopop now I won't give out the whole list so some of you can get a surprise while making panels

if you have images that you think could fit in and be used by everyone just drop me a PM
Posted By: Dave_L_dup1 Re: The Panel Generator - 12/07/2002 12:45 AM
What happens if someone uses "Add to post" but doesn't actually use the image in a post? Do unused image files get cleaned up (somehow)?
Posted By: Charles Re: The Panel Generator - 12/07/2002 12:48 AM
no, nothing like this yet but it could be done without hassle, just search for the filename in the database and erase it if it does not exist. then each file is quite small (less than 5k) so I dunno if is really a big matter.
Posted By: omegatron Re: The Panel Generator - 12/07/2002 1:00 AM
[]https://www.ubbdev.com/images/panels/9520-8369.png[/]

so it does this
Posted By: Charles Re: The Panel Generator - 12/07/2002 2:04 AM
yeah something like that
tho you can choose other fonts and colors
Posted By: JoshPet Re: The Panel Generator - 12/07/2002 10:55 AM
I really like this..... and have made my "Rick Given Title" of Mr. Bug part of my signature.

[]https://www.ubbdev.com/images/panels/9439-12565.png[/]

I like it.
Posted By: Charles Re: The Panel Generator - 12/07/2002 3:08 PM
thanks
Posted By: dimopoulos Re: The Panel Generator - 12/07/2002 4:16 PM
[]https://www.ubbdev.com/images/panels/10000-10799.png[/]
Posted By: dimopoulos Re: The Panel Generator - 12/07/2002 4:17 PM
Very nice one Charles!!! Thumbs up big time!

Warm regards

Nikos
Posted By: Stefan_dup1 Re: The Panel Generator - 12/07/2002 8:24 PM
[]https://www.ubbdev.com/images/panels/9485-2833.png[/]
Posted By: msula Re: The Panel Generator - 12/08/2002 12:03 AM
[]https://www.ubbdev.com/images/panels/9494-2353.png[/]
Posted By: Dave_L_dup1 Re: The Panel Generator - 12/08/2002 12:57 AM
[]https://www.ubbdev.com/images/panels/9655-12415.png[/]
Posted By: shortbus Re: The Panel Generator - 12/08/2002 1:07 AM
Very cool man. Very cool.

[]https://www.ubbdev.com/images/panels/9641-4679.png[/]
Posted By: bmh Re: The Panel Generator - 12/17/2002 3:24 AM
[]https://www.ubbdev.com/images/panels/5892-12329.png[/]

Is it free hack or we must to buy it ????


[]https://www.ubbdev.com/images/panels/5892-14985.png[/]
Posted By: bmh Re: The Panel Generator - 12/17/2002 2:19 PM
by the way .... is it possible to know the required library to be installed in the server to run this hack ??

I mean which type of TTF library ?? is it freetype2 ??

and what about GD version ?? is it required to be 2.X.X ??


I am intersted to know about this information to put my server standbay and also i am crazy to know when U can post this hack for the users ....... at less give as hint


craZy of this hack which i feel its more than perfect



[]https://www.ubbdev.com/images/panels/5892-9516.png[/]
Posted By: Charles Re: The Panel Generator - 12/17/2002 8:26 PM
this hack is free but you are welcome to make a donation if you wish
Posted By: Charles Re: The Panel Generator - 12/17/2002 8:29 PM
in order to work the hacks needs GD 1.6.2+ and freetype (gd and PHP must be compiled with ttf support)

I haven't tried on GD2 but I *guess* it should work without too much of a problem.

About bugs I am still trying to get the preview to work with mozilla which is harder than I thought
Posted By: Dalantech Re: The Panel Generator - 12/19/2002 12:26 PM
When will you provide instructions so the rest of us can install this hack?

[]https://www.ubbdev.com/images/panels/9813-4245.png[/]
Posted By: Charles Re: The Panel Generator - 12/19/2002 1:11 PM
when I have finished the Admin section, documentation and am happy with the overall aspect
Posted By: Storm_dup1 Re: The Panel Generator - 12/19/2002 10:36 PM
Hi Charles.... This looks great! I was wondering... Is there going to be a way where we can allow only certain user groups access to this hack? That would be a great perk for donating members to have.... If it's not in the plans let me be the first to suggest it while you're still working on it's release......... Thanks!
Posted By: Charles Re: The Panel Generator - 12/19/2002 11:03 PM
yes this is possible eventhough it not integrated in the hack at present time (I will add it as soon as I find some time)

the way we did it here is the link is only shown to logged in user by checking the user group (try loging out to see) but I will add an other group check in the script itselft to prevent un-authorised users to access the page.
Posted By: Storm_dup1 Re: The Panel Generator - 12/19/2002 11:08 PM
Awesome!!!!! Glad I mentioned that before ya finished....

[]https://www.ubbdev.com/images/panels/9936-7963.png[/]
Posted By: Charles The Panel Generator - release date - 12/20/2002 12:04 AM
After having some thoughts I will most probably release a first version next week for those of you who are interested in trying it out.
Posted By: Storm_dup1 Re: The Panel Generator - release date - 12/20/2002 12:41 AM
Excellent!! Can't wait.... I know the folks on my site will love it.........
Posted By: dimopoulos Re: The Panel Generator - release date - 12/20/2002 10:47 AM
Charles,

I would definitely love to try it out. The most interesting part would be to install and compile (!!!!!) the prerequisite TTF library with PHP on my good old Windows 2000 box.

I will write down instructions for those in the same situation as I am (Windows environment I mean)

Keep me posted if you need me to test it.

Warm regards

Nikos

Posted By: Charles Re: The Panel Generator - release date - 12/23/2002 5:31 PM
nikos no need to do this the GD library is already included in the windows PHP distribution you just need to include/unquote it in the php.ini file.

let me know if you need some help.

right now I am not with my computer so I don't have all the files which means the relaese might be in early january when I get back
Posted By: dimopoulos Re: The Panel Generator - release date - 12/23/2002 6:21 PM
Merci Charles

Can't wait!!!!!

Warm regards

Nikos
Posted By: bmh Re: The Panel Generator - release date - 12/25/2002 1:36 PM
Hi Charles,

I have question about this script ,, is it possible to use it with another languages ?? for example arabic ? as u know Arabic language using Right-To-Left layout and im not sure if freetype & GD supporting arabic language


so what i mean when the script passing parameter to the library , how to change the UNICode of that string and convert it to other language character set ??


Thank you in advance
BMH
Posted By: Charles Re: The Panel Generator - release date - 12/26/2002 2:05 PM
hmm interesting question,

I will check after new year and will let you know
Posted By: PhotoPost Re: The Panel Generator - release date - 01/02/2003 4:13 PM
Love the look... makes for interesting possibilities...
Posted By: yors Re: The Panel Generator - 01/03/2003 10:12 AM
[]yes this is possible eventhough it not integrated in the hack at present time (I will add it as soon as I find some time)

the way we did it here is the link is only shown to logged in user by checking the user group (try loging out to see) but I will add an other group check in the script itselft to prevent un-authorised users to access the page. [/]

Is that why I cant see any such link (to create a panel) and try this out? I am logged in though cant find anything in the Reply page!
Posted By: JoshPet Re: The Panel Generator - 01/03/2003 11:07 AM
I think it got lost in the 6.2 upgrade here.

We need to remind JustDave or Allen to add the link back. *Nudge* *nudge*
Posted By: pinion Re: The Panel Generator - 01/03/2003 5:21 PM
This is a really cool hack. Any idea on a release date for it?
Posted By: Dslam Re: The Panel Generator - 01/03/2003 5:56 PM
yup whats the scoop here , this getting released soon ?
Posted By: Charles Re: The Panel Generator - 01/03/2003 9:03 PM
probably some time next week
Posted By: Storm_dup1 Re: The Panel Generator - 01/04/2003 12:11 AM
WB Charles!
Posted By: Dslam Re: The Panel Generator - 01/04/2003 5:46 AM
Cool deal
Posted By: JoshPet Re: The Panel Generator - 01/04/2003 6:31 AM
Yes...

Me wants this.
Posted By: PhotoPost Re: The Panel Generator - 01/05/2003 4:23 AM
I've gotten a few PMs from people who seem confused by my signature - the image is dynamic and displays your information only for you (as is my avatar). The text on the last line is a random quote from several of my favorite movies.

The confusion has led some people to think that I have published their IP address in my sig for some reason.
Posted By: omegatron Re: The Panel Generator - 01/05/2003 4:43 AM
Cool Michael I would love to know how to do that one.
Posted By: PhotoPost Re: The Panel Generator - 01/05/2003 4:54 AM
Well, the panel graphic inspired me. I had a random quote signature that I developed a couple months back. It would take quotes from my favorite movies and translate them into a graphic image which would randomly change whenever someone was reading a message. The graphic was kind of plain, I always planned to go back and make it look nicer - the panel thing just gave me the inspiration to do it in a similiar manner.

So, I wrote my own panel generator and combined it with my random sig stuff. The "hard" part was making the panel fully dynamic in size and centering nonproportional text.

I'm planning on making it so people can add their own text for signatures and avatars.
Posted By: omegatron Re: The Panel Generator - 01/05/2003 5:01 AM
LOL was referring to freaking everyone out by telling them their ip info Kinda cool.
Posted By: PhotoPost Re: The Panel Generator - 01/05/2003 5:08 AM
Well, thats easy; since the image loads from my server I know the referring information for the person.
Posted By: Dslam Re: The Panel Generator - 01/05/2003 8:36 AM
I just looked while I was reading & thought that ip looked like mine LOL hey it is it is ..

haha funny people would pm you thinking everyone is seeing there ip's too funny
Posted By: PhotoPost Re: The Panel Generator - 01/06/2003 12:12 AM
Whats really funny is that since posting my new signature code on Friday (less than three days); the sig has served up over 36,000 impressions! And it's already gone international and shown up on boards that I can even read! lol

Like I said, I might start running paid advertising thru the network. lol
Posted By: Charles The Panel Generator - Released - 01/08/2003 8:05 PM
at Last!

please check my first post for a link.
Posted By: Ian_W Re: The Panel Generator - Released - 01/08/2003 8:44 PM
Thanks Charles for releasing this - nice one.

Could be very useful, as long as users do not overuse it - one of those features, where at times, it is good not to announce it, but allow the more observent ones to discover it, and then have fun, watching others say... 'How did you do that?'

Thanks again.

Ian

Posted By: Charles Re: The Panel Generator - 01/08/2003 8:56 PM
[]Like I said, I might start running paid advertising thru the network. lol [/] don't forget my 20%
Posted By: JoshPet Re: The Panel Generator - 01/08/2003 9:32 PM
Thanks Charles. Will install this one tonight.

Posted By: pinion Re: The Panel Generator - 01/08/2003 10:20 PM
^^Yeah what Josh said. I will give it a go tonight. Looks really cool
Posted By: pinion Re: The Panel Generator - 01/08/2003 11:50 PM
Hmmmm....dunno if I'm doing something wrong but I keep getting the following message when I upload ubbt.inc.php:

Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /home3/www/piniononline/ubbthreads/ubbt.inc.php on line 1724

Fatal error: Call to undefined function: getmicrotime() in /home3/www/piniononline/ubbthreads/main.inc.php on line 16
Posted By: Charles Re: The Panel Generator - 01/09/2003 12:56 AM
hmmm strange, maybe it was modified for an other hack

in your original file you have:
Code
 <br />global $config,${$config['cookieprefix']."w3t_language"},$thispath,$tempstyle,$ubbt_lang,$debug,$dbh;


add ,$user at the end which should give you something like
Code
 <br />global $config,${$config['cookieprefix']."w3t_language"},$thispath,$tempstyle,$ubbt_lang,$debug,$dbh,$user;


then search for
Code
 <br />					$graemlinlist .= "<br />"; <br />				} <br />

and add underneath
Code
 <br />			if( (preg_match("/-1-/",$user['U_Groups'])) or (preg_match("/-2-/",$user['U_Groups'])) or (preg_match("/-3-/",$user['U_Groups']))) { <br />			$showpanelgenerator="<p align=\"center\"><a href=\"javascript: x()\"  onclick=\"window.open('pano/popup.php','panelpopup','Width=510,height=320');\">Panel Generator</a></p>"; <br />			}else{ <br />			$showpanelgenerator=""; <br />			} <br />

there let me know how it goes
Posted By: pinion Re: The Panel Generator - 01/09/2003 1:14 AM
Well..it sort of works now. The problem arises when I go to post the pannel in my post. I get the following error when I press the "Add to Post" button:

Warning: Undefined index: coul in /home3/www/piniononline/ubbthreads/pano/preview.php on line 47

Warning: Undefined index: fontcolor in /home3/www/piniononline/ubbthreads/pano/preview.php on line 48

Warning: Undefined index: police in /home3/www/piniononline/ubbthreads/pano/preview.php on line 49

Warning: Undefined index: texture in /home3/www/piniononline/ubbthreads/pano/preview.php on line 50

Warning: Undefined index: bordure in /home3/www/piniononline/ubbthreads/pano/preview.php on line 51

Warning: Undefined index: epaisseur in /home3/www/piniononline/ubbthreads/pano/preview.php on line 52

Warning: Undefined index: texte in /home3/www/piniononline/ubbthreads/pano/preview.php on line 53



File has been generated and [image] tags should have been added to your post

If this is not the case please add the code provided below to the text zone

Posted By: Charles Re: The Panel Generator - 01/09/2003 1:19 AM
what webserver do you use ? apache or iis ?
also is the panel created or not ?
Posted By: pinion Re: The Panel Generator - 01/09/2003 1:22 AM
Apache

The pannel is created but not posted properly it seems.
Posted By: Charles Re: The Panel Generator - 01/09/2003 1:29 AM
hmmm
I thought that setting would work on all server...

what you can do is remove line 47 to 53 and try again maybe it will work for you
Posted By: pinion Re: The Panel Generator - 01/09/2003 1:34 AM
Works great now Charles. Also had to fix a setting for the http address for the pannels folder. Forgot to add a "/" at the end of the address and that's why it wasn't inserting the proper web addy.

Thanks for all your hard work and patience helping me
Posted By: Charles Re: The Panel Generator - 01/09/2003 1:40 AM
you need these lines if cgi.force_redirect is switched on in your php.ini
Posted By: Storm_dup1 Re: The Panel Generator - 01/09/2003 2:59 AM
Hiya Charles.... I've got it working.... However... I get the following errors when clicking add to post.....

Warning: Undefined index: coul in /var/www/html/threadsbeta/pano/preview.php on line 47

Warning: Undefined index: fontcolor in /var/www/html/threadsbeta/pano/preview.php on line 48

Warning: Undefined index: police in /var/www/html/threadsbeta/pano/preview.php on line 49

Warning: Undefined index: texture in /var/www/html/threadsbeta/pano/preview.php on line 50

Warning: Undefined index: bordure in /var/www/html/threadsbeta/pano/preview.php on line 51

Warning: Undefined index: epaisseur in /var/www/html/threadsbeta/pano/preview.php on line 52


Now, although I get these errors it does add the code to the post and works perfectly once you post.. But the popup.php doesn't go away and remains with those errors.... Any ideas??
Posted By: Storm_dup1 Re: The Panel Generator - 01/09/2003 3:17 AM
oops.... sorry, also.... how the heck can I change who accesses the thing?? I found in the ubbt...... where the number groups are but changing them seems to have no affect.....Only admin can see it right now......
Posted By: Storm_dup1 Re: The Panel Generator - 01/09/2003 3:27 AM
ok....sorry Charles.... Got that user group thing working.... Just the error from my first post and I'm good to go live..... Too cool!
Posted By: Dslam Re: The Panel Generator - 01/09/2003 3:40 AM
Good stuff I'll give it ago tonight
Posted By: Storm_dup1 Re: The Panel Generator - 01/09/2003 3:40 AM
ackkkkk trying the fix you suggest to pinion.... sorry.....
Posted By: Storm_dup1 Re: The Panel Generator - 01/09/2003 3:54 AM
k..... deleting those lines fixed my problem too.... Thanks Charles!! testing it for an hour then moving it to the site.... THANKYOU!
Posted By: Charles Re: The Panel Generator - 01/09/2003 12:39 PM
OK I modified slightly the preview.php file in order for the script to work on every server.

it is included in the ZIP or you can download it from this post

let me know how it goes.

Attached File
64208-preview.php.txt  (144 downloads)
Posted By: Turbosport Re: The Panel Generator - 01/09/2003 7:55 PM
I have just installed this and LOVE it cant stop playing
Posted By: Charles Re: The Panel Generator - 01/09/2003 11:24 PM
Okay the panel generator link was added back here

enjoy
Posted By: Ian_W Re: The Panel Generator - 01/10/2003 12:16 AM
[]https://www.ubbdev.com/images/panels/9509-13805.png[/]
Posted By: PhotoPost Re: The Panel Generator - 01/10/2003 1:04 AM
okay, so who put in the face when you type TEST and who is it?

:lol:

[]https://www.ubbdev.com/images/panels/9464-6447.png[/]
Posted By: Charles Re: The Panel Generator - 01/10/2003 1:12 AM
lol this is navaho
Posted By: PhotoPost Re: The Panel Generator - 01/10/2003 2:46 AM
Well, since the panels are being stored versus made on-the-fly; storage might become an issue at some point if you have alot of people using this feature.

I can see where after a few months you might have a directory full of images!

There's also a couple other goodies in the keyword list! lol
Posted By: JoshPet Re: The Panel Generator - 01/10/2003 8:56 AM
This is great. Thanks Charles. Got it all installed.

All seems fine, panels are generated, but the preview image appears as a broken link for me.

I've tried your updated preview file. And I've played with permissions on default.png and static_cache.php. Both are currently 666.

Any ideas?

Thanks for this.
Posted By: Turbosport Re: The Panel Generator - 01/10/2003 10:30 AM
Josh are you using win2k ?
Posted By: JoshPet Re: The Panel Generator - 01/10/2003 10:37 AM
No Linux.
Posted By: dimopoulos Re: The Panel Generator - 01/10/2003 12:22 PM
Charles,

A great modification indeed!!! Well done and thanks!

[]All seems fine, panels are generated, but the preview image appears as a broken link for me.[/]

Unfortunately for me the panels are not generated and I do get the same broken link error like Josh does. It all seems to work fine but...

I am running IIS on Windows 2K advanced server

Thanks for this

Warm regards

Nikos
Posted By: Charles Re: The Panel Generator - 01/10/2003 12:40 PM
Okay try the following for those who don't have the preview, copy the link of the preview image into your navigator so to get preview.php?blablabla and see if you get any errors or a blank page.
Posted By: Ian_W Re: The Panel Generator - 01/10/2003 12:42 PM
Check your paths in the config file.

I had a similar problem, but tweaked the file and all is okay now.

The file should lokk like this...

define("_URL",$config['phpurl']."/pano/"); //URL to the Pano Folder

**** this is simply the path from the root directory of threads - normally just /pano/ if you added it to say /threads/



define("_PATH",$config['path']."/pano/"); //Path to the Pano folder

**** again the path from threads directory

define("_PATHPANO","/the/full/path/from/server/root/wwwthreads/images/panels/"); //path of dir where panels are saved
define

**** this the full path from the server root.


("_URLPANO","http://www.eaxample.com/wwwthreads/images/panels/"); //URL of dir where panels are saved

**** this is the full URL.

define("_wrongrefer",$config['path']."/pano/refer.png"); //path of the wrong referer image


*** this is from the root of the threads directory.


Hopefully this should then work - it does for me now - so hopefully you should be okay as well.

Ian
Posted By: Charles Re: The Panel Generator - 01/10/2003 12:42 PM
well you can always make them on the fly if you think its better but it better be your own server lol

from what I remember I think its more than 15000 panels in less than 10megs

I plan on doing a utility to clean unused panels but haven't had time yet.
Posted By: PhotoPost Re: The Panel Generator - 01/10/2003 4:24 PM
I know the problem well! Never enough time and darn if my body doesnt just shut down when I try to force it to code nonstop all night long!
Posted By: dimopoulos Re: The Panel Generator - 01/10/2003 4:32 PM
Thanks a lot Canvey and Charles. I will try it as soon as I can and let you know.

Warm regards

Nikos
Posted By: PhotoPost Re: The Panel Generator - 01/10/2003 9:36 PM
Just a word of caution. During testing I experienced a server outage that lasted about 20 minutes. When I could finally get back into my server my HTTPD processes were running at 500MB each! While I could PING my server, the websites were down and I could not access SSH. At the time of this outage, I was testing the code here.

I waited a while and then reloaded onto my primary message boards last night. This morning my servers experienced a 3 hour outage (all because I took a nap 10 minutes before it started!). This was a hard crash.

There are no server logs to tell me what might have happened. Oddly enough, the site with the generator on it has no long entries at all for today while my other sites logs are fine.

I suggest that if you have a HEAVY server load you be cautious as this script caused the only outage my server has had (and mine is a loaded Dell with SCSI RAIDs, 1.5GB of ECC memory and the works).
Posted By: Charles Re: The Panel Generator - 01/10/2003 10:42 PM
True, image manipulation can be very heavy on system resources but I've never exeperienced a crash myself with the auto update function switched off.

I would be interested if you could investigate this more

now I am sure the load could be reduced by removing smilies and images in the panel and working in lines instead of words.
Posted By: PhotoPost Re: The Panel Generator - 01/10/2003 10:45 PM
I had AutoUpdate set to the default. And, truth is, I have no data to support just where the crash is occuring. I only base this word of caution on the fact I had two server problems after installed this mod when I've never had an outage on my system before.

Also, my panel below s Dynamic and served up over 30,000 times a day (last check), so I wonder if the problem has more to do with file I/O than the graphics portion.
Posted By: Charles Re: The Panel Generator - 01/10/2003 10:49 PM
if you check my code each word is a differente image, that might also be a reason for high load.

I suppose your sig does this in 3 go (1 per line)

I don't think the I/O has something to do with high load since the resource intense bit is the image generation.
Posted By: PhotoPost Re: The Panel Generator - 01/10/2003 10:53 PM
Correct, each line is an image.

Its hard for me to say what kind of load my server was under at the time of the crash. MTRG MySQL and Traffic data shows it to be about normal (not excessively high).

Also, looking in my panels directory I only have 63 panels. Once a panel is made, there hsouldnt be any further problems. I wonder if there isnt something that causes a problem in the way the panel code is called - i.e. good error recovery in the event you get passed some bad data?

I can try and take a look when I can find some time.
Posted By: Charles Re: The Panel Generator - 01/10/2003 11:07 PM
thats a good question, normally the function should be able to handle any kind of data but then who knows.

if you find anything strange please let me know
Posted By: JoshPet Re: The Panel Generator - 01/11/2003 7:20 AM
[]Okay try the following for those who don't have the preview, copy the link of the preview image into your navigator so to get preview.php?blablabla and see if you get any errors or a blank page. [/]

I still get a broken preview image.

When I copy the img src link of the broken preview image to the address bar, I get a blank page.

Otherwise this is cool.

My users have requested "Cartman" from soutpark in future addiions.
Posted By: PhotoPost Re: The Panel Generator - 01/11/2003 7:23 AM
Are the png's being created in your panels directory? (Make sure you made one that is listed by the URL). In that directory should be all your PNGs.
Posted By: PhotoPost Re: The Panel Generator - 01/11/2003 7:24 AM
I'm going to try and load this onto a test server and then run a script to call it repeatedly to see what it does. My server is back online and no problems (removed the link to the generator); but I cant see loading it again until I know more about what caused my outages.
Posted By: PhotoPost Re: The Panel Generator - 01/11/2003 7:25 AM
Is it not on this site anymore?
Posted By: JoshPet Re: The Panel Generator - 01/11/2003 7:27 AM
The pngs are being created... because they work once you add them to the post. It's just the preview that doesn't work.

I'm testing this with a small group of paid supporters. I'll probably leave it limited to that group as a "perk" of supporting us. That should minimize server load for us.
Posted By: Charles Re: The Panel Generator - 01/11/2003 2:13 PM
yeah I think I know the bug try the preview php file enclosed here.

It all depends on how your webserver handles the get function, I haven't found a fool proof way yet.

and the link is back here

Attached File
64456-preview.php.txt  (172 downloads)
Posted By: Storm_dup1 Re: The Panel Generator - 01/12/2003 3:58 PM
Strangest thing on my site... The preview was working just fine... I hadn't messed with it in a couple days and was using it this morning and guess what... The preview feature isn't working.... I was trying to figure out why Josh's wasn't working because we use the same type of setup and now it's got me too.... Grabbing the new preview.php file to try it out....
Posted By: Storm_dup1 Re: The Panel Generator - 01/12/2003 4:10 PM
That didn't help the problem Charles.... I am racking my brain trying to think if I changed something that would have resulted in the preview to stop working but I just haven't made any changes to the site since installing that the day you released it. It worked perfectly for a few days and then? I will keep thinking back and maybe recall a change I made.....

[]https://www.ubbdev.com/images/panels/9936-2150.png[/]
Posted By: Charles Re: The Panel Generator - 01/12/2003 4:11 PM
could you give me a link to the popup.php file ?
Posted By: JoshPet Re: The Panel Generator - 01/12/2003 4:30 PM
Charles. Mine is working now.
Thank you... users love it.
Posted By: Storm_dup1 Re: The Panel Generator - 01/12/2003 4:53 PM
http://stormchat.com/ubbthreads/pano/popup.php

Posted By: Storm_dup1 Re: The Panel Generator - 01/12/2003 5:11 PM
How'd ya fix it Josh?? The new file work for you??
Posted By: JoshPet Re: The Panel Generator - 01/12/2003 5:17 PM
Yes, the new preview file worked for me.
Posted By: Storm_dup1 Re: The Panel Generator - 01/12/2003 5:20 PM
That is too weird.... hmmmm It's still working on my test site just fine.... I'm gonna grab the original zip and see if that helps....
Posted By: Charles Re: The Panel Generator - 01/12/2003 5:29 PM
storm
for me the preview works

http://stormchat.com/ubbthreads/pan...hello&bordure=000000&epaisseur=1

are you using mozilla ?
Posted By: Storm_dup1 Re: The Panel Generator - 01/12/2003 5:42 PM
Hey Charles, thanks..... I tried it with Netscape and it worked perfectly so I cleared my cache and all temporary stuff and it's now working with explorer just fine.... Weird.... I just cleared all that yesterday...

Maybe I'm on here more than I thought....

Thanks again and my users love this too.....
Posted By: bmh Re: The Panel Generator - 01/14/2003 12:52 AM
Hi Charles,

First of all, thank you for this perfect hack.

second I have 2 things which i cant solve it untile now

1. when i try to generate the panel it's look that the Classic image is not merging with the text image correctly !! it seem that there is problem with transperancy of the classic images ??!!

have a look at this which was created from my site (Server) :

[]https://www.ubbdev.com/threads/php/uploads/64847-mysite-pano.png[/]


and look at the same image and font which was created from this site :

[]https://www.ubbdev.com/images/panels/5892-7059.png[/]

what do u think that is from ???



2. The second problem is i cant generate the panel with another language such as Arabic ?? it's return rubish characters when i try to write in Arabic language ?? is there any way to do that ??


Thanks alot ...
BMH

Attached picture 64847-mysite-pano.png
Posted By: Charles Re: The Panel Generator - 01/14/2003 1:21 PM
hmm, what version of the GD library do you use ?

for arabic you must find and add an arabic TTF font. Since the writing is from right to left you will probably need to switch off the other fonts.
Posted By: bmh Re: The Panel Generator - 01/15/2003 12:17 AM
Hi again,


This is my GD info :

GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled

and i am using RedHat 7.3

And about Arabic I have added more than 10 Arabic TTF Fonts but still it's not working with me ... and what do u mean to switch off the other fonts ??

can u give me the basic idea on how the script send the Text string to GD & Freetype ?? I think the main problem is one of the above library is needing to convert the text string as Arabic Unicode before sending it to the place which create the image ... so we have to find which library doing this process .. coz i believe that by sending the string from the browser it using the Default encoding characeter and it's mean sending rubish characters coz what is wrote in my Text Area is not what will be in the Preview image!!

any help about this ??

Thanks in advance
BMH
Posted By: AllenAyres Re: The Panel Generator - 02/05/2003 1:56 AM
ugh... just killed a busy threads site with this one.... it quit working period smirk I think ~50 people attempted it before I got the config file updated completely

I am still waiting for the processes to stop so I can restart it.
Posted By: Storm_dup1 Re: The Panel Generator - 02/05/2003 5:55 AM
So Allen, This was related to you changing files around while people were using it for sure?? Got this installed on my site and would hate that to happen.....
Posted By: AllenAyres Re: The Panel Generator - 02/05/2003 6:08 AM
Digging further, I think it was partly related to their php not supporting freetype... have ~30 people attempt to make a panel without it and you'll see what I mean
Posted By: Storm_dup1 Re: The Panel Generator - 02/06/2003 3:16 AM
I think I'll take your word for it....
Posted By: Charles Re: The Panel Generator - 03/11/2003 3:49 AM
sorry was away for a while anyone need help?

about arabic you need to add something in the header to change the direction of writing but having never done it before I am not quite sure what it might be
Posted By: patt Re: The Panel Generator - 03/18/2003 1:58 AM
a bug?

a little problem ..........
the popups have a wrong stylesheetlink,
linking to "usedefault.css".

what is wrong?

mfg
heinz
Posted By: Charles Re: The Panel Generator - 03/22/2003 7:44 AM
hmmm, do you use cookies or sessions?

also are you properly logged in?
Posted By: msula Re: The Panel Generator - 03/22/2003 9:01 PM
Getting an error in the preview... when viewing the URL and opening in a browser this is what it says:

Fatal error: Call to undefined function: imagettfbbox() in /home/mijeeps/public_html/forums/pano/panneau.inc.php on line 194

GD2 is installed
Posted By: patt Re: The Panel Generator - 03/23/2003 2:59 PM
i'm logged in with cookies..........
Posted By: Charles Re: The Panel Generator - 03/24/2003 5:40 AM
msula, I think that means you do not have all the correct modules installed for your PHP installation, usually its freetype or TTF support is nor correctly mapped with PHP/freetype. please conctact your host
Posted By: Charles Re: The Panel Generator - 03/24/2003 5:43 AM
patt do you have a guest account I could use on your forums?

also would you mind sharing your translations so I could include it in the zip?
Posted By: patt Re: The Panel Generator - 03/24/2003 4:40 PM
Charles i send u a PM with all infos.....
Posted By: shortbus Re: The Panel Generator - 03/25/2003 5:42 AM
hey, is this working now without any bugs?
Posted By: msula Re: The Panel Generator - 03/25/2003 6:06 AM
Forgot to update my problem...

I recompiled PHP with freetype and such and everything works great
Posted By: Charles Re: The Panel Generator - 03/25/2003 6:23 AM
[]msula said:
Forgot to update my problem...

I recompiled PHP with freetype and such and everything works great [/]good news
usually people who experience problems with this script don't have all the necessary plugins installed.
Posted By: Charles Re: The Panel Generator - 03/25/2003 6:36 AM
[]patt said:
Charles i send u a PM with all infos..... [/]patt is your problem solely with the stylesheet?

I just logged in using mozilla and ie and changed my style sheet on both and got the right colors for the popup (also the preview seems to work on mozilla)

for the default image you might want to modify the parameters in the config file to match the one you used (normally the default image is automatcly generated based on these settings)

as for the translation its in your language/german directory and I won't have access to it, please sent it to me by email.

please give me more informations on what might be wrong.
Posted By: patt Re: The Panel Generator - 03/25/2003 7:13 AM
i find out....
it's a problem with use default
if u edit in Main Configuration>>>>Display preferences, number of shown threads, languages, colors... >>>>Which style sheet (skin) do you want to use for your display?>>>>"Always use default"
after the program is looking for a usedefault.css *gg*

greetings

heinz
Posted By: Charles Re: The Panel Generator - 03/25/2003 7:39 AM
lol
ok
need to take a look at this will keep you posted
Posted By: smilesforu Re: The Panel Generator - 03/25/2003 8:35 AM
got it working, but don't see it on this site anymore.
Posted By: Charles Re: The Panel Generator - 03/25/2003 8:46 AM
yeah I think it got scrapped during an update, will get it added back.
Posted By: patt Re: The Panel Generator - 03/25/2003 3:10 PM
the german language files
with bigger popupwindows

mfg
patt

Attached File
74223-pano-v1.german.zip  (35 downloads)
Posted By: Charles Re: The Panel Generator - 03/26/2003 3:34 AM
thanks, will include your translation to the release.

I don't get why you included popup.php and static to your zip file since the size of the window is only decided by the javascript. Also static is made depending on each user's settings in the config file and what images are accessible so it will gwt overwritten anyway.

the fix for the css is actually very easy, will try to do it sometime today.
Posted By: patt Re: The Panel Generator - 03/26/2003 4:08 AM
incl. the popup.php because i change inside the popupwindow size for deepbluedev2.css ....the new static_cache.php is importantly for the alphabetical order of the panels in the popup..........

mfg
heinz
Posted By: Mudpuppy Re: The Panel Generator - 04/01/2003 11:45 PM
I've been successfully using the Panel Generator on 6.2.1 for a couple of months. Two days ago I upgraded to 6.2.3 and since then, the Panels being generated show up as reversed horizontally (the writing and image are backwards). The image preview no longer works, but an image *is* generated. Also, I get an error message: Notice: Undefined variable: p in /pano/panneau.inc.php on line 523

Here's an example: []http://www.cynicaldog.com/wwwthreads/uploads/panels/2-1453.png[/]

Any ideas about this? All I can think of is that it's related to my upgrade, but perhaps that's just a coincidence.
Posted By: Charles Re: The Panel Generator - 04/02/2003 3:50 AM
lol

I am right now in the process of leaving hong kong for europe so I will solve all these issues during the WE

thanks
Posted By: Mudpuppy Re: The Panel Generator - 04/04/2003 6:27 PM
To follow-up... my panels are now working properly again and I didn't change anything. Perhaps my hosting company was doing some work on the server or something. Nevertheless, I don't need a mirror to read panels anymore
Posted By: Charles Re: The Panel Generator - 04/11/2003 6:55 PM
ok I remember now
this is an april 1st easter egg I think
Posted By: ScottCargill Re: The Panel Generator - 04/13/2003 12:46 AM
I was wondering, in the panneau.php file, is this right? or is this a corrupted file?

function OterAccents($chaine) {
return( strtr( $chaine,
"ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ©",
"AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNnc" ) );

I ask, as I don't quite have it up and going right....

I get the panel generator to pop up, everything looks good, but the moment I change anything the preview gets a broken image link. And nothing passes through to the message.

Posted By: Charles Re: The Panel Generator - 04/13/2003 10:41 AM
yes this line is correct it is for fonts that do not have accents in them

usually the no preview error is due to some software missing in your php installation.

Are you certain that you have the GD extension and TTF support installed?
Posted By: JoshPet Re: The Panel Generator - 04/13/2003 10:56 AM
Our preview doesn't work here.

Any ideas? []https://www.ubbdev.com/threads/php/uploads/panels/9439-11588.png[/]
Posted By: omegatron Re: The Panel Generator - 04/13/2003 4:40 PM
The preview does not work on my site either.

HOWEVER I think this is due to it calling the PHPURL twice. If you click on the url of the preview on your site you shall see what I mean. At least thats what I have found
Posted By: JoshPet Re: The Panel Generator - 04/13/2003 4:55 PM
Not sure I follow...

I didn't install it here (I think Charles or Allen did) but do I need to tweak a setting?
Posted By: omegatron Re: The Panel Generator - 04/13/2003 7:00 PM
Nope yours works here. I was refering to the post before. Mine does the same thing as his site. The preview does not work. When I click to the non working image to see the URL. I reveal it has the base PHPURL twice. I double checked the setting 3 times and they are right. The panel program works and inserts an image just the preview seems to be calling the URL twice.

I just checked it again on my site and the preview is working but it was doing what I meantioned the day before. Weird to say the least.
Posted By: JoshPet Re: The Panel Generator - 04/13/2003 7:02 PM
The preview doesn't work here for me.
Posted By: omegatron Re: The Panel Generator - 04/13/2003 7:09 PM
And it worked for me today although the one on my site did not work yesterday but does today. When my site was not working I checked and found the that double URL problems.

Could be a browser interaction error with the program?
Posted By: Charles Re: The Panel Generator - 04/13/2003 7:13 PM
yeah it doesn't work I'll have to take a look maybe the server configuration was changed for some reason. I did change any files sincve it was installed here.
Posted By: omegatron Re: The Panel Generator - 04/13/2003 7:20 PM
LOL but the preview works for me now so hense browser interaction?
Posted By: JoshPet Re: The Panel Generator - 04/13/2003 7:29 PM
Hmmmm

Didn't work for me on Mac or PC.
Posted By: omegatron Re: The Panel Generator - 04/13/2003 7:57 PM
Interesting I just tried it again and it does not work here

It worked an hour or so ago. Like I said very weird but maybe it is server as I just checked my site and that works now.
Posted By: JoshPet Re: The Panel Generator - 04/13/2003 8:01 PM
Another Unrelated Question Charles.

I put this on a Win2k machine.... and all seems fine, but I get this:

Fatal error: Call to undefined function: imagettfbbox() in C:\All web sites\PV Corner\pano\panneau.inc.php on line 194


Am I configured wrong.... or am I missing something?
Thanks for the help.
Posted By: Charles Re: The Panel Generator - 04/13/2003 8:40 PM
do you use apache 2?
this error is due to php not having the ttf handler installed but if you use the GD library provided with apache it should work. What is your configuration?
Posted By: ScottCargill Re: The Panel Generator - 04/13/2003 10:03 PM
[]Charles said:
yes this line is correct it is for fonts that do not have accents in them <img src="/threads/php/images/graemlins/smile.gif" alt="" />

usually the no preview error is due to some software missing in your php installation.

Are you certain that you have the GD extension and TTF support installed? [/]

No I'm not....

I just checked, and as I'm using a stand alone php install, (of course it didn't have the gd module going), I re-installed php with-gd and that did not correct the problem.

I looked at my apache info and freetype 1.3.1 is installed.

Posted By: Charles Re: The Panel Generator - 04/13/2003 10:07 PM
wwould you have a link for your phpinfos?
Posted By: JoshPet Re: The Panel Generator - 04/14/2003 4:47 AM
[]Charles said:
do you use apache 2?
this error is due to php not having the ttf handler installed but if you use the GD library provided with apache it should work. What is your configuration? [/]

Not sure... let me ask the guy who runs the server to check out this thread. Thanks.
Posted By: donnti Re: The Panel Generator - 04/14/2003 5:51 AM
[]JoshPet said:
[]Charles said:
do you use apache 2?
this error is due to php not having the ttf handler installed but if you use the GD library provided with apache it should work. What is your configuration? [/]

Not sure... let me ask the guy who runs the server to check out this thread. Thanks. [/]

Josh put the generator on my server and I have a win2k with IIS. I have all of the permissions set for the IUSER for the folder. I have a link for myphpadmin, if you need that just send me a PM. It looks like all of the DB files were created.
Posted By: JoshPet Re: The Panel Generator - 04/14/2003 5:56 AM
Looks like something we might be missing is a library that's part of Apache (thw web server software) and not of the panel generator itself.

I know it's your server... did you install Apache yourself?
Posted By: donnti Re: The Panel Generator - 04/14/2003 6:06 AM
I am not use Apache yet I still have to figure that one out but I just haven't had the time so I am just using IIS that came with Windows 2k
Posted By: Charles Re: The Panel Generator - 04/14/2003 10:22 AM
well the panel generator uses the GD library could you have a file with the following if you have php 4.3 or more.
Code
 <? gd_info(); var_dump(gd_info());?> 


and give me a link to it? thanks
Posted By: Charles Re: The Panel Generator - 04/14/2003 10:33 AM
ok just looked at your php infos and freetype is not linked to PHP/GD you might want to recompile php with ttf support
Posted By: donnti Re: The Panel Generator - 04/14/2003 9:46 PM
[]Charles said:
well the panel generator uses the GD library could you have a file with the following if you have php 4.3 or more.
Code
 <? gd_info(); var_dump(gd_info());?> 


and give me a link to it? thanks [/]

I still have php 4.2.2 but I am upgrading to the 4.3.1 now.

I also used the exe that only put the binaries on for the 4.2.2 and I am going to do 4.3.1 manualy to get the gd lib.
Posted By: ScottCargill Re: The Panel Generator - 04/15/2003 12:53 AM
Ok, we're getting closer then. What would be the command line to do that? so far its --with-zlib etc, so what would the --with be to get the ttf in?

Posted By: smilesforu Re: The Panel Generator - 04/15/2003 11:08 AM
Any special tricks to adding customized stick holding images? Made a image and added it to my generator and it didn't show up as one of the images.

May just be me... off to try other images.
Posted By: Charles Re: The Panel Generator - 04/24/2003 3:29 PM
you need to add all the info in the database wo that the smilie will be aligned properly. some day when I find the time I will write a how to

right now I have to figure why it doesn't work anymore here
Posted By: BWilliams_dup1 Re: The Panel Generator - 06/13/2003 9:39 PM
Please tell me where the error is that is not letting this work.
[]

// #####################################################################
// Create the instant graemlin/ubbcode
// #####################################################################

function instant_ubbcode() {

global $theme,$config,${$config['cookieprefix']."w3t_language"},$thispath,$tempstyle,$ubbt_lang,$debug,$dbh;$user;

$langfile = ${$config['cookieprefix']."w3t_language"};
if (!$langfile) {
$langfile = $config['language'];
}
require ("$thispath/languages/$langfile/instant_markup.php");

// --------------------------------------------------
// We need to grab all of the graemlins out of the db
$query = "
SELECT G_Code,G_Smiley,G_Image
FROM {$config['tbprefix']}Graemlins
";
$sth = $dbh -> do_query($query);
$i=0;
$gnum = 0;
$remotelink = "";
$graemlinlist="";
while (list($code,$smiley,$image) = $dbh -> fetch_array($sth)) {
if ($smiley) {
$code = $smiley;
} else {
if (stristr("$code","$")) {
eval("\$code = $code;");
}
$code = ":$code:";
}
if ($gnum < $theme['max_graemlins']) {
$graemlinlist .= <<<EOF
<a href="javascript:void(0)" onclick="insertAtCaret(document.replier.Body, ' $code'); document.replier.Body.focus();"><img src="{$config['images']}/graemlins/$image" border="0" alt="$code" /></a>  
EOF;
}
else {
$remotelink = "<a href="javascript:void(0)" onclick="openGraemlinPanel()">{$ubbt_lang['MORE_G']} >>></a>";
}
EOF;
$i++;
$gnum++;
if ($i==6) {
$i=0;
if ($gnum < ($theme['max_graemlins'] +1)) {
$graemlinlist .= "<br />";
}
if( (preg_match("/-1-/",$user['U_Groups'])) or (preg_match("/-2-/",$user['U_Groups'])) or (preg_match("/-3-/",$user['U_Groups']))) {
$showpanelgenerator="<p align="center"><a href="javascript: x()" onclick="window.open('pano/popup.php','panelpopup','Width=510,height=320');">Panel Generator</a></p>";
}else{
$showpanelgenerator="";
}
}
}

$graemlinlist .= $remotelink;

if (!$debug) {
include("$thispath/templates/$tempstyle/ubbt_instant_ubbcode.tmpl");
}
return $template;

}
[/]




And yes, I am NEW

Posted By: JoshPet Re: The Panel Generator - 06/13/2003 9:45 PM
Depends What error you are getting?

This requires some specific graphic libraries on your server too.... so I haven't been able to make this work everywhere. Some depends on server setup.
Posted By: BWilliams_dup1 Re: The Panel Generator - 06/13/2003 9:48 PM
[]JoshPet said:
Depends What error you are getting?

This requires some specific graphic libraries on your server too.... so I haven't been able to make this work everywhere. Some depends on server setup. [/]
Josh,

Thanks for the quick reply!

I am not getting an error, was trying to figure out if I had an error in the code somewhere. It just plain out right doesn't work.

Is there anything I can check?
Posted By: JoshPet Re: The Panel Generator - 06/13/2003 9:50 PM
Elaborate on "doesn't work right".

Some issues can be permissions related, others can be not having the right libraries installed with PHP.
[]Pre-requisites - server must have the GD library and compiled with ttfsupport [/]

This is probably one of the most complex things to configure. So post smoe specifics and probably Charles may have some advice.

Posted By: BWilliams_dup1 Re: The Panel Generator - 06/13/2003 10:01 PM
[]JoshPet said:
Elaborate on "doesn't work right".

Some issues can be permissions related, others can be not having the right libraries installed with PHP.
[]Pre-requisites - server must have the GD library and compiled with ttfsupport [/]

This is probably one of the most complex things to configure. So post smoe specifics and probably Charles may have some advice.

[/]
I do know I have GD installed, as I am using it for PP. If I goto http://www.socaps.com/ubbthreads/pano/porteurs.php it does show them ??

The link on the add post page is not showing up bellow the Graemlin link.

Bobby
Posted By: JoshPet Re: The Panel Generator - 06/13/2003 10:04 PM
Oh so you're just not getting the link?

Did you add $showpanelgenerator into the ubbt_instant_ubbcode.tmpl file?
Posted By: BWilliams_dup1 Re: The Panel Generator - 06/13/2003 10:22 PM
[]JoshPet said:
Oh so you're just not getting the link?

Did you add $showpanelgenerator into the ubbt_instant_ubbcode.tmpl file? [/]
Yes, I have I have attached the ubbt_instant_ubbcode.tmpl file

This is driving me crazy !!!

Attached File
Posted By: JoshPet Re: The Panel Generator - 06/13/2003 10:56 PM
Are you trying to restrict it to specific groups -
if not maybe take the group restriction thing out to eliminate stuff until you get it working

Change this:
Code
<br />if( (preg_match("/-1-/",$user['U_Groups'])) or (preg_match("/-2-/",$user['U_Groups'])) or (preg_match("/-3-/",$user['U_Groups']))) { <br />                $showpanelgenerator="<p align=\"center\"><a href=\"javascript: x()\"  onclick=\"window.open('pano/popup.php','panelpopup','Width=510,height=320');\">Panel Generator</a></p>"; <br />                }else{ <br />                $showpanelgenerator=""; <br />                } <br />


To this:
Code
<br />                $showpanelgenerator="<p align=\"center\"><a href=\"javascript: x()\"  onclick=\"window.open('pano/popup.php','panelpopup','Width=510,height=320');\">Panel Generator</a></p>"; <br />
Posted By: AllenAyres Re: The Panel Generator - 10/21/2003 6:40 AM
little should be different for this mod, should work on newer versions too, eh?
Posted By: JoshPet Re: The Panel Generator - 10/21/2003 6:49 AM
Yeah, it's really almost an addon = so it should work with 6.4 although I haven't tried it yet.
Posted By: Charles Re: The Panel Generator - 10/21/2003 10:11 AM
why almost an addon?? it IS an addon the only hacking bit is ading the link

talking about this I still have some bugs to fix on it ...
Posted By: AllenAyres Re: The Panel Generator - 10/21/2003 4:31 PM
well, I had considered making a .classic version, but this relies quite a bit on mysql and validation against the threads db... so prolly not
Posted By: Charles Re: The Panel Generator - 10/21/2003 5:51 PM
was planning on that too ask my teachers to stop bugging me about my thesis and I will do it
Posted By: AllenAyres Re: The Panel Generator - 10/22/2003 6:19 AM
will do
Posted By: scroungr Re: The Panel Generator - 10/23/2003 5:06 AM
Was gonna load this on my host and am wondering whats the trials and tribulations and whats the latest source? Is there anything to be wary of and what database the table script writes to?
Posted By: Sapphy Re: The Panel Generator - 03/28/2004 12:43 PM
Is this coming back for 6.4 as it's a great mod!
Posted By: scroungr Re: The Panel Generator - 03/29/2004 2:18 AM
doesn't need to. this is a standalone and is independent of the threads version so will work with any version of threads.
Posted By: Charles Re: The Panel Generator - 03/29/2004 10:42 AM
the next version will probably be for 6.5 as there is a number of changes, mainly in the censor bit.
Posted By: Sapphy Re: The Panel Generator - 03/30/2004 6:42 PM
Ok thanks. I'm looking forward to re-introducing it Charles, it's awesome.
Posted By: scroungr Re: The Panel Generator - 03/31/2004 5:29 AM
BTW I am using this version still with threads 6.4.1 and it works great.
Posted By: PaNTerSan Re: The Panel Generator - 04/26/2004 11:01 AM
[]scroungr said:
BTW I am using this version still with threads 6.4.1 and it works great. [/]
Could you please email it to me
Posted By: scroungr Re: The Panel Generator - 04/26/2004 2:48 PM
Hmm just noticed Charles removed the original version? I would contact charles and see why he removed it and just didn't update a new version into the attachments when he released his next incarnation so unless he says I can. I won't let me shoot him a PM.
Posted By: Storm_dup1 Re: The Panel Generator - 08/08/2004 5:17 AM
Cripes! Whatever happened to this Charles???? I went to install it and don't have the .zip anymore.... Anyone??
Posted By: scroungr Re: The Panel Generator - 08/08/2004 7:32 AM
I shot him a PM and never got a reply...
Posted By: isaac Re: The Panel Generator - 08/11/2004 2:22 AM
its right here...

* * ATTACHED FILE * *

Attached File
118321-pano-v1.zip  (60 downloads)
Posted By: ericgtr Re: The Panel Generator - 08/11/2004 8:16 PM
Here is a quick and dirty hack to show a link for the Panel Generator next to the Quick Reply box in showflat. (Thanks to Omegetron for the snippets from him photopost mod)

Code
 <br />Open showflat.php <br /> <br />## <br />## Find: <br />## <br /> <br />function openGraemlinPanel() { <br />	graemlinWindow=window.open('{$config['phpurl']}/graemlinpanel.php','graemlinpanel','scrollbars=yes,resizable=yes,width=300,height=400'); <br />	if (graemlinWindow.opener == null) graemlinWindow.opener = self; <br />} <br /> <br /> <br />## <br />## After add: <br />## <br /> <br />function openPanelGenerator() { <br />        photoWindow=window.open('{$config['phpurl']}/pano/popup.php','popup','scrollbars=yes,resizable=yes,width=510,height=320'); <br />        if (photoWindow.opener == null) photoWindow.opener = self; <br />} <br /> <br /> <br />## <br />## Find: <br />## <br /> <br /><a href="javascript:void(0)" onclick="openGraemlinPanel()">{$ubbt_lang['USE_GRAEMLINS']}</a><br /><br /> <br /> <br />## <br />## After add: <br />## <br /> <br /><a href="javascript:void(0)" onclick="openPanelGenerator()">Panel Generator</a><br /><br /> <br />
Posted By: Charles Re: The Panel Generator - 08/23/2004 9:02 PM
[]scroungr said:
I shot him a PM and never got a reply... [/]forgot to update my email adress doh! well I can assure you that the current version should not work on 6.5 unless so bits are redone but I do not plan to update this mod until the next gen ubb is in beta stage.
Posted By: Turbosport Re: The Panel Generator - 08/23/2004 10:02 PM
yep it works just need to change a few paths in the scripts.
Posted By: Storm_dup1 Re: The Panel Generator - 05/09/2005 12:40 AM
What paths are you having to change in what scripts?
© UBB.Developers