UseBB Community

The official board for UseBB help and discussion

UseBB Community » Resources & Customization » Text formatting question.

Text formatting question.

Moderators: Gaia.

Page: 1

Author Post
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Hi,

I modified the lang_English.php file to include more text in the Terms of Use section and was wondering how I could add some formatting codes (bold, underline, etc.) for some of the text. I tried HTML but to no avail.

Thanks,
Gene
:D
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Also, being that I modified my board not to have "hidden" members, how do I get rid of the (0 hidden) in the Who's Online box?

Thanks,
Gene
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
At this time you can't add formatting to the terms of use.

The translation strings you're looking for are $lang['MemberGuestOnline'], $lang['MembersGuestOnline'], $lang['MemberGuestsOnline'] and $lang['MembersGuestsOnline'].
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Dietrich wrote
The translation strings you're looking for are $lang['MemberGuestOnline'], $lang['MembersGuestOnline'], $lang['MemberGuestsOnline'] and $lang['MembersGuestsOnline'].


Ok, if there are 4 instaces of $lang['MembersGuestsOnline'], where do I find them? The language file and various php and tpl files?

Thanks
Gene
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Sorry but forgot to ask, would it be a good idea to secure the folders with CHMOD 777 with the following htaccess file?

php_value allow_url_fopen Off
php_value allow_url_include Off


Thanks,
Gene
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Dietrich, sorry to be a pain with all these questions but there's another thing I'd like to know. If I wanted to create more forums based on my modded board, how would I go about it?

I was thinking of uploading a backup of my board to a different (new) folder, create a new database (MySQL), import the tables, etc. from my original sql dump using phpMyAdmin and modify the config file to point to the new database.

Sounds good to you or would you have another suggestion?
Gene
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
Raygene wrote
Ok, if there are 4 instaces of $lang['MembersGuestsOnline'], where do I find them? The language file and various php and tpl files?


Sorry, jumped the gun again, found all of those 4 instances in the language file and removed them. Works like a charm.

Thanks,
Gene
Member
Registered: Jun 2007
Posts: 122
Location: Gatineau, QC, Canada
And another one, LOL! Really starting to have fun with your fantastic program.

I modified the copyright section as found on another post in order to remove the forum name:

'usebb_copyright' => 'Powered by <a href="http://www.usebb.net">UseBB</a> '.USEBB_VERSION,


Now, is there a way to insert "Mates Junction Free Community Services" on the far left side of that box having Mates Junction as a link to my main site?

Thanks,
Gene
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
The PHP settings you posted in this topic don't secure anything, UseBB does not use fopen() very often, except for the version check which can also be done using cURL. So if you have it compiled in PHP, version check will still work, otherwise it won't when allow_url_fopen is disabled. allow_url_include is never used.

You don't need to dump the dataabse and import it somewhere in order to use your PHP mods, except for when you have altered the database (and still, there's no need to copy over all the content).

The change you want to make to the template is a template and CSS issue. Please open a new topic for this issue, as this topic is going extremely offtopic (which is against the forum rules). Please open separate topics for each question in the future.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog

Page: 1

UseBB Community » Resources & Customization » Text formatting question.

UseBB Community is powered by UseBB 1 Forum Software