signature Module (Released)

17 years 11 months ago #13113 by justberare
Replied by justberare on topic Re:signature Plug In (a great idea)
Well, that's very nice of you.

I have done the xml file and the php file is for the moment very simple (and non-working)

Here is the plug (it doesn't work) I am not good at syntax stuff at all.

Post edited by: justberare, at: 2006/05/17 20:21
Attachments:

Please Log in to join the conversation.

17 years 11 months ago #13114 by justberare
Replied by justberare on topic Re:signature Plug In (a great idea)
the file ..:whistle: ???

it doesn't upload.

here is the xml

[code:1]<?xml version="1.0" encoding="UTF-8"?>
<cbinstall version="1.0" type="plugin" group="user">
<name>Image Title</name>
<author>Justberare</author>
<creationDate>2006-05-10</creationDate>
<copyright>(C) 2005-2006 joomlapolis.com and parts proprietary with Community Builder license</copyright>
<license>parts: www.gnu.org/copyleft/gpl.html GNU/GPL and parts proprietary with Community Builder license
<authorEmail>edouardnattee@hotmail.com
<authorUrl>www.mondanity.com
<version>1.0</version>
<description>Image title</description>
<files>
<filename plugin="cb.imgtitle">cb.imgtitle.php</filename>
<filename>index.html</filename>
</files>
<params>

</params>
<tabs>
<tab name="Image Title" description="" class="getMenuTab" fields="0" position="cb_head" displaytype="html" ordering="-6" enabled="1" sys="3">
<params>

</params>
<fields>
</fields>
</tab>

</tabs>
</cbinstall>[/code:1]

and the php :blush:



[code:1]<?php



defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );



echo " <img scr='www.supdecopains.com/_jgfw_/image.php?text=$userid&size=30&color=000000&bgcolor=ffffff&font=demo.ttf' >" ;



?>[/code:1]

Post edited by: justberare, at: 2006/05/17 20:23
Attachments:

Please Log in to join the conversation.

17 years 11 months ago #13118 by stausholm
Replied by stausholm on topic Re:signature Plug In (a great idea)
Caspar: didn't now that :blush: Glad you told me - but still this could also be a solution to the spamcollecting problem

Post edited by: stausholm, at: 2006/05/17 20:32

Joomla 1.0.8
CB 1.0 Stable

Please Log in to join the conversation.

17 years 11 months ago #13135 by Caspar
Replied by Caspar on topic Re:signature Plug In (a great idea)
Well in the XML file you said your class is getMenuTab. So you have to write that in you php file as well. The constructor must look like this:

[code:1]
class getMenuTab extends cbTabHandler {
function getMenuTab() {
$this->cbTabHandler();
}
function getDisplayTab($tab,$user,$ui) {

$output = " <img scr='www.supdecopains.com/_jgfw_/image.php?text=$userid&size=30&color=000000&bgcolor=ffffff&
font=demo.ttf' >";

return $output;
}

[/code:1]

Hope that helped.

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 #13137 by justberare
Replied by justberare on topic Re:signature Plug In (a great idea)
this is what I get :

Parse error: syntax error, unexpected ';', expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home.2/supdecop/www/components/com_comprofiler/plugin/user/plug_imagetitle/cb.imgtitle.php on line 19 :(

Please Log in to join the conversation.

17 years 11 months ago #13140 by justberare
Replied by justberare on topic Re:signature Plug In (a great idea)
actually I chose a getmenutab thing but I don't know what it means. Probably the signature can be displayed as a module only ...

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.209 seconds

Facebook Twitter LinkedIn