Helpful Information
 
 
Category: vB5 Programming Discussions
Field Copyrighttext on vBconnect

Hi guys

On vBulletin 4 for insert the copyright I used the field $ vbulletin-> options ['copyrighttext'] and through the hook global_bootstrap_init_start I applied my copyright

$vbulletin->options['copyrighttext'] .=’my text’; //vb4

vB::getDatastore()->getOption['copyrighttext'] //vb5

Now I can not understand how to do this without creating a template and add it to the end.
Someone could explain to me how to use the variable copyrighttext

Regards

Hi guys

On vBulletin 4 for insert the copyright I used the field $ vbulletin-> options ['copyrighttext'] and through the hook global_bootstrap_init_start I applied my copyright

$vbulletin->options['copyrighttext'] .=’my text’; //vb4

vB::getDatastore()->getOption['copyrighttext'] //vb5

Now I can not understand how to do this without creating a template and add it to the end.
Someone could explain to me how to use the variable copyrighttext

Regards

easy done, please look at screenshots

DON'T PEOPLE GET IT ANYMORE WITH VB5
there is no need to edit templates anymore use the template hook system

Thanks but I did not want to use the template as specified, using the template does not allow me to bring all my copyright in a single line.

Regards

Thanks but I did not want to use the template as specified, using the template does not allow me to bring all my copyright in a single line.

Regards

yes it does, this is the correct way to use the hook and template system
what ever you do in the template will show in the copyrighttext area
taking into consideration you need to ensure that the content fits on 1 line
it would work exactly the same way even if you edited the footer template

the template hook system is meant to be used in this way
VB5 Connect was designed to be used this way

thank you very much, I will try

Regards










privacy (GDPR)