signature Module (Released)

17 years 11 months ago #13148 by pointri
Replied by pointri on topic Re:signature Plug In (a great idea)
I think Caspar's code is just missing a '}' at the bottom?

[code:1]class getMenuTab extends cbTabHandler {

function getMenuTab() {

$this->cbTabHandler();

}

function getDisplayTab($tab,$user,$ui) {
global $mosConfig_live_site;
$output = "<img src='".$mosConfig_live_site."/_jgfw_/image.php?text=$userid&size=30&color=000000&bgcolor=ffffff&
font=demo.ttf' >";

return $output;
}
}
[/code:1]

Post edited by: pointri, at: 2006/05/18 01:22

Joomlapolitan zealot and a somewhat stealthy, rather passive CB3PD developer.
www.constructionlounge.com Construction Lounge: Online resource and networking portal for the construction and remodeling industries.

Please Log in to join the conversation.

17 years 11 months ago #13176 by Caspar
Replied by Caspar on topic Re:signature Plug In (a great idea)
@pointri: Yes you are right!
@justberare: look at pointri's code. That should work.
The class you difine in the XML needs to be recalled in the PHP, that is all. Basicly this way the XML know which PHP it belongs to...just look at the code. Quite easy to understand (at least I think so B) )

Do me a favour an go to www.st-sebastian-beckum.de and click on the green image, which says TOP 50 and vote for the page. Thanks!

Please Log in to join the conversation.

17 years 11 months ago #13210 by justberare
Replied by justberare on topic Re:signature Plug In (a great idea)
there is still a little pb :

Fatal error: Cannot redeclare class getmenutab in /home.2/supdecop/www/components/com_comprofiler/plugin/user/plug_imagetitle/cb.imgtitle.php on line 4

is that because of the class getmenutab that I unfortunately chose ?

Please Log in to join the conversation.

17 years 11 months ago #13237 by pointri
Replied by pointri on topic Re:signature Plug In (a great idea)
justberare wrote:

is that because of the class getmenutab that I unfortunately chose ?


That's exactly it. justbeoriginal with your class name. :lol:

Post edited by: pointri, at: 2006/05/18 18:02

Joomlapolitan zealot and a somewhat stealthy, rather passive CB3PD developer.
www.constructionlounge.com Construction Lounge: Online resource and networking portal for the construction and remodeling industries.

Please Log in to join the conversation.

17 years 11 months ago #13251 by justberare
Replied by justberare on topic Re:signature Plug In (a great idea)
:D but how do I do it then ?

do I have things to change in the excel file also ?

Please Log in to join the conversation.

17 years 11 months ago #13271 by justberare
Replied by justberare on topic Re:signature Plug In (a great idea)
sorry not excel file but xml file (lapsus).

anyway even when i change it, it doesn't work,

:(

:(

:whistle: if someone know how to do this plugin ....

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.197 seconds

Facebook Twitter LinkedIn