miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · Register · Search · Statistics · File Bank · Manual ·
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /  
 

Changing order of wordings in page titles

 
Author coco
Partaker
#1 · Posted: 25 May 2006 09:31Reply Quote
Hello

is it possible to display in history bar (IE or Mozilla)
this:

mini bulletin board forums - <? print 'Hello world'; ?>

instead of this

<? print 'Hello world'; ?> - mini bulletin board forums

i want something like this but i don't know how to
get that:

www.forumforever.ru/forum/index.php?action=vtopic&forum=2

Thanks

Author Team
8-)
#2 · Posted: 25 May 2006 17:14Reply Quote
hello.. you can change this through the bb_func_vthread.php file ..
change this line:

$title=strip_tags($topicName).' - '.str_replace(' - ','',$title);


to:


$title=str_replace(' - ','',$title).' - '.strip_tags($topicName);

Author Paul
Lead Lead Developer
#3 · Posted: 25 May 2006 17:42Reply Quote
Just an addition - we won't change this by default. It's better for search engines to have forum titles coming first, as they are more keywords-related.

Author coco
Partaker
#4 · Posted: 25 May 2006 17:55Reply Quote
Thank you!

Author coco
Partaker
#5 · Posted: 28 May 2006 14:32Reply Quote
This works only in topics, not in forums

example:

Support - mini bulletin board forums

and then

mini bulletin board forums - History bar

but i want:

mini bulletin board forums - Support

mini bulletin board forums - History bar

Thanks

Author Team
8-)
#6 · Posted: 28 May 2006 16:10Reply Quote
change the following code in bb_func_vtopic.php

$title=$forumName.' - '.str_replace(' - ','',$title);


to

$title=str_replace(' - ','',$title).' - '.$forumName;

Author coco
Partaker
#7 · Posted: 28 May 2006 16:42Reply Quote
Thanks again

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /
 Changing order of wordings in page titles
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message

BB code for the Bold StyleBB code for the Italic StyleBB Code for the PictureBB code for the URLUpload a File

  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Try the File and Picture Attachments add-on: extend your miniBB-forums, attaching images and files.