php forum
php mysql forum
php mysql smarty
 
Page 9 of 10 < 1 2 ... 7 8 9 10 >
Topic Options
#228968 - 04/14/03 02:46 PM Re: The Panel Generator [Re: egor]
donnti Offline
Power User

Registered: 06/18/02
Posts: 66
Loc: Minnesota USA

   Re: The Panel Generator to Del.icio.us Add to del.icio.us
  Digg Re: The Panel Generator Digg it
[]Charles said:<br />well the panel generator uses the GD library could you have a file with the following if you have php 4.3 or more.<br />
Code:
 &lt;? gd_info(); var_dump(gd_info());?&gt; 
<br /><br />and give me a link to it? thanks <img src="/forum/images/graemlins/smile.gif" alt="" /> [/]<br /><br />I still have php 4.2.2 but I am upgrading to the 4.3.1 now.<br /><br />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.

Top
#228969 - 04/14/03 05:53 PM Re: The Panel Generator [Re: egor]
ScottCargill Offline
Journeyman

Registered: 02/01/01
Posts: 144
Loc: Bakersfield, Ca.
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?<br /><br />
_________________________
Scott Cargill -WebMaster
East Hills Kung Fu San Soo

Top
#228970 - 04/15/03 04:08 AM Re: The Panel Generator [Re: DRYCARPET1]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
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.<br /><br />May just be me... off to try other images.

Top
#228971 - 04/24/03 08:29 AM Re: The Panel Generator [Re: Kelly]
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
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 <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />right now I have to figure why it doesn't work anymore here <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#228972 - 06/13/03 02:39 PM Re: The Panel Generator [Re: egor]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
Please tell me where the error is that is not letting this work. <br /> [] <br /> <br /> // ##################################################################### <br /> // Create the instant graemlin/ubbcode <br /> // ##################################################################### <br /> <br /> function instant_ubbcode() { <br /> <br /> global $theme,$config,${$config['cookieprefix']."w3t_language"},$thispath,$tempstyle,$ubbt_lang,$debug,$dbh;$user; <br /> <br /> $langfile = ${$config['cookieprefix']."w3t_language"}; <br /> if (!$langfile) { <br /> $langfile = $config['language']; <br /> } <br /> require ("$thispath/languages/$langfile/instant_markup.php"); <br /> <br /> // -------------------------------------------------- <br /> // We need to grab all of the graemlins out of the db <br /> $query = " <br /> SELECT G_Code,G_Smiley,G_Image <br /> FROM {$config['tbprefix']}Graemlins <br /> "; <br /> $sth = $dbh -> do_query($query); <br /> $i=0; <br /> $gnum = 0; <br /> $remotelink = ""; <br /> $graemlinlist=""; <br /> while (list($code,$smiley,$image) = $dbh -> fetch_array($sth)) { <br /> if ($smiley) { <br /> $code = $smiley; <br /> } else { <br /> if (stristr("$code","$")) { <br /> eval("\$code = $code;"); <br /> } <br /> $code = ":$code:"; <br /> } <br /> if ($gnum < $theme['max_graemlins']) { <br /> $graemlinlist .= <<<EOF <br /> <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> &nbsp; <br />EOF; <br /> } <br /> else { <br /> $remotelink = "<a href=\"javascript:void(0)\" onclick=\"openGraemlinPanel()\">{$ubbt_lang['MORE_G']} &gt;&gt;&gt;</a>"; <br /> } <br />EOF; <br /> $i++; <br /> $gnum++; <br /> if ($i==6) { <br /> $i=0; <br /> if ($gnum < ($theme['max_graemlins'] +1)) { <br /> $graemlinlist .= "<br />"; <br /> } <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 /> } <br /> } <br /> <br /> $graemlinlist .= $remotelink; <br /> <br /> if (!$debug) { <br /> include("$thispath/templates/$tempstyle/ubbt_instant_ubbcode.tmpl"); <br /> } <br /> return $template; <br /> <br /> } <br />[/] <br /> <br /> <br /> <br /> <br />And yes, I am NEW <img src="/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />

Top
#228973 - 06/13/03 02:45 PM Re: The Panel Generator [Re: vajraman]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Depends What error you are getting?<br /><br />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.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#228974 - 06/13/03 02:48 PM Re: The Panel Generator [Re: Daine]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
[]JoshPet said:<br />Depends What error you are getting?<br /><br />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. [/]<br />Josh,<br /><br />Thanks for the quick reply!<br /><br />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.<br /><br />Is there anything I can check?<br />

Top
#228975 - 06/13/03 02:50 PM Re: The Panel Generator [Re: vajraman]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Elaborate on "doesn't work right".<br /><br />Some issues can be permissions related, others can be not having the right libraries installed with PHP.<br />[]Pre-requisites - server must have the GD library and compiled with ttfsupport [/]<br /><br />This is probably one of the most complex things to configure. <img src="/forum/images/graemlins/wink.gif" alt="" /> So post smoe specifics and probably Charles may have some advice. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#228976 - 06/13/03 03:01 PM Re: The Panel Generator [Re: Daine]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
[]JoshPet said:<br />Elaborate on "doesn't work right".<br /><br />Some issues can be permissions related, others can be not having the right libraries installed with PHP.<br />[]Pre-requisites - server must have the GD library and compiled with ttfsupport [/]<br /><br />This is probably one of the most complex things to configure. <img src="/forum/images/graemlins/wink.gif" alt="" /> So post smoe specifics and probably Charles may have some advice. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br /> [/]<br />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 ??<br /><br />The link on the add post page is not showing up bellow the Graemlin link.<br /><br />Bobby

Top
#228977 - 06/13/03 03:04 PM Re: The Panel Generator [Re: vajraman]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Oh so you're just not getting the link?<br /><br />Did you add $showpanelgenerator into the ubbt_instant_ubbcode.tmpl file?
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#228978 - 06/13/03 03:22 PM Re: The Panel Generator [Re: Daine]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
[]JoshPet said: <br />Oh so you're just not getting the link? <br /> <br />Did you add $showpanelgenerator into the ubbt_instant_ubbcode.tmpl file? [/] <br />Yes, I have I have attached the ubbt_instant_ubbcode.tmpl file <br /> <br />This is driving me crazy !!!


Attachments
84510-ubbt_instant_ubbcodee.tmpl (64 downloads)


Top
#228979 - 06/13/03 03:56 PM Re: The Panel Generator [Re: vajraman]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Are you trying to restrict it to specific groups - <br />if not maybe take the group restriction thing out to eliminate stuff until you get it working<br /><br />Change this:<br />
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="&lt;p align=\"center\"&gt;&lt;a href=\"javascript: x()\"  onclick=\"window.open('pano/popup.php','panelpopup','Width=510,height=320');\"&gt;Panel Generator&lt;/a&gt;&lt;/p&gt;"; <br />                }else{ <br />                $showpanelgenerator=""; <br />                } <br />
<br /><br />To this:<br />
Code:
<br />                $showpanelgenerator="&lt;p align=\"center\"&gt;&lt;a href=\"javascript: x()\"  onclick=\"window.open('pano/popup.php','panelpopup','Width=510,height=320');\"&gt;Panel Generator&lt;/a&gt;&lt;/p&gt;"; <br />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#228980 - 10/20/03 11:40 PM Re: The Panel Generator [Re: Daine]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25427
Loc: Texas
little should be different for this mod, should work on newer versions too, eh?
_________________________
- Allen wavey
- What Drives You?

Top
#228981 - 10/20/03 11:49 PM Re: The Panel Generator [Re: SurfMinister]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yeah, it's really almost an addon = so it should work with 6.4 although I haven't tried it yet. <img src="http://63.251.4.131/~admin2/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#228982 - 10/21/03 03:11 AM Re: The Panel Generator [Re: Daine]
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
why almost an addon?? it IS an addon <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /> the only hacking bit is ading the link <img src="http://www.ubbdev.com/forum/images/graemlins/tongue.gif" alt="" /><br /><br />talking about this I still have some bugs to fix on it ...
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#228983 - 10/21/03 09:31 AM Re: The Panel Generator [Re: egor]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25427
Loc: Texas
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 <img src="http://www.ubbdev.com/forum/images/graemlins/tongue.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#228984 - 10/21/03 10:51 AM Re: The Panel Generator [Re: SurfMinister]
Charles Offline
Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
was planning on that too <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /> ask my teachers to stop bugging me about my thesis and I will do it <img src="http://www.ubbdev.com/forum/images/graemlins/tongue.gif" alt="" />
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#228985 - 10/21/03 11:19 PM Re: The Panel Generator [Re: egor]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25427
Loc: Texas
will do <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#228986 - 10/22/03 10:06 PM Re: The Panel Generator [Re: SurfMinister]
scroungr Offline
Old Hand

Registered: 10/17/03
Posts: 2409
Loc: Richmond, VA
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?
_________________________
Couchtomatoe - www.couch-tomatoe.cc
My abilities are for hire for installs, upgrades, custom themes and custom modifications.

Top
#228987 - 03/28/04 04:43 AM Re: The Panel Generator [Re: 234234]
Sapphy Offline
Power User

Registered: 09/03/03
Posts: 70
Is this coming back for 6.4 as it's a great mod! <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />

Top
Page 9 of 10 < 1 2 ... 7 8 9 10 >


Who's Online
0 Registered (), 39 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by Ian_W
Yesterday at 03:47 PM
What do you use to edit the files
by Ian_W
Yesterday at 03:33 PM
BeyondCompare v3.00
by Ian_W
Yesterday at 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
Yesterday at 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
ghengis317, NitroX, Dogan, EliYah-, W-D
13344 Registered Users
Top Posters Last 30 Days
AllenAyres 16
blaaskaak 13
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4
tackaberry 3

 

 

 
fusionbb message board php hacks