Previous Thread
Next Thread
Print Thread
Rate Thread
Page 5 of 5 1 2 3 4 5
egor #228968 04/14/2003 2:46 PM
Joined: Jun 2002
Posts: 62
Power User
Power User
Offline
Joined: Jun 2002
Posts: 62
[]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.

Sponsored Links
egor #228969 04/14/2003 5:53 PM
Joined: Feb 2001
Posts: 104
Journeyman
Journeyman
Offline
Joined: Feb 2001
Posts: 104
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?


Joined: Jan 2002
Posts: 674
Junior Member
Junior Member
Offline
Joined: Jan 2002
Posts: 674
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.

Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
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


Do you believe in love at first sight,
or should I walk by again?
egor #228972 06/13/2003 2:39 PM
Joined: Mar 2003
Posts: 159
Member
Member
Joined: Mar 2003
Posts: 159
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


Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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.

Joined: Mar 2003
Posts: 159
Member
Member
Joined: Mar 2003
Posts: 159
[]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?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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.


Joined: Mar 2003
Posts: 159
Member
Member
Joined: Mar 2003
Posts: 159
[]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

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Oh so you're just not getting the link?

Did you add $showpanelgenerator into the ubbt_instant_ubbcode.tmpl file?

Sponsored Links
Joined: Mar 2003
Posts: 159
Member
Member
Joined: Mar 2003
Posts: 159
[]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 !!!
Attachments
84510-ubbt_instant_ubbcodee.tmpl (0 Bytes, 177 downloads)

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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 />

Daine #228980 10/20/2003 11:40 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
little should be different for this mod, should work on newer versions too, eh?


- Allen wavey
- What Drives You?
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, it's really almost an addon = so it should work with 6.4 although I haven't tried it yet.

Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
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 ...


Do you believe in love at first sight,
or should I walk by again?
egor #228983 10/21/2003 9:31 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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


- Allen wavey
- What Drives You?
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
was planning on that too ask my teachers to stop bugging me about my thesis and I will do it


Do you believe in love at first sight,
or should I walk by again?
egor #228985 10/21/2003 11:19 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
will do


- Allen wavey
- What Drives You?
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
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?

Joined: Sep 2003
Posts: 67
Power User
Power User
Joined: Sep 2003
Posts: 67
Is this coming back for 6.4 as it's a great mod!

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
doesn't need to. this is a standalone and is independent of the threads version so will work with any version of threads.

Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
the next version will probably be for 6.5 as there is a number of changes, mainly in the censor bit.


Do you believe in love at first sight,
or should I walk by again?
egor #228990 03/30/2004 11:42 AM
Joined: Sep 2003
Posts: 67
Power User
Power User
Joined: Sep 2003
Posts: 67
Ok thanks. I'm looking forward to re-introducing it Charles, it's awesome.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
BTW I am using this version still with threads 6.4.1 and it works great.

Joined: Mar 2004
Posts: 118
Journeyman
Journeyman
Offline
Joined: Mar 2004
Posts: 118
[]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


Kind regards,
PaNTerSan
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
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.

234234 #228994 08/07/2004 10:17 PM
Joined: Aug 2002
Posts: 239
Member
Member
Joined: Aug 2002
Posts: 239
Cripes! Whatever happened to this Charles???? I went to install it and don't have the .zip anymore.... Anyone??


Some people read their stars..... I choose to write my own
#228995 08/08/2004 12:32 AM
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
I shot him a PM and never got a reply...

#228996 08/10/2004 7:22 PM
Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
its right here...

* * ATTACHED FILE * *
Attachments
118321-pano-v1.zip (0 Bytes, 60 downloads)


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
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 />

Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
[]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.


Do you believe in love at first sight,
or should I walk by again?
egor #228999 08/23/2004 3:02 PM
Joined: Sep 2001
Posts: 129
Member
Member
Offline
Joined: Sep 2001
Posts: 129
yep it works just need to change a few paths in the scripts.


Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!
Joined: Aug 2002
Posts: 239
Member
Member
Joined: Aug 2002
Posts: 239
What paths are you having to change in what scripts?


Some people read their stars..... I choose to write my own
Page 5 of 5 1 2 3 4 5

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)