add certion name to image by bb code

Discussions about the phpBB3 Forum. How to get the best from this powerful script.
Note that there is no official support for phpBB3 here, a place to share more than to ask for.

Moderator: Moderators

add certion name to image by bb code

Postby mhmdkhamis » Tue Nov 20, 2007 1:01 am

welcome dcz
i want to add title and description to the pictures
i need image code be like that in BB code when i write any topic
[img=image link]image name[/img]
that = <img src="image(link)" alt="image name" />
to can add custom title to any picture i add it in any topic


anothr issue please dcz i need to add description for forums link when mouse stop on link like here in http://www.phpbb-seo.com/boards/

if u stopped with link from index page you will see decription like

The phpBB SEO Website you will see this phpBB SEO Portal:The phpBB SEO Website
:D
mhmdkhamis
PR4
PR4
 
Posts: 437
Joined: Sun Nov 26, 2006 11:15 pm
Location: egypt

Advertisement

Postby dcz » Fri Nov 23, 2007 1:59 pm

I did not play much with bbcodes on phpBB3 yet.
You could just add a new one in the ACP :
Code: Select all
[image={TEXT1}]{TEXT2}[/image]

and :
Code: Select all
<img src="{TEXT2}" alt="{TEXT1}" title="{TEXT1}"/>


In the bbcode ACP. I tested it and it works for usages like :

Code: Select all
[image="this will be the alt and title"]http://www.example.come/image.jpg[/image]


But it's not as safe as the regular img bbcode, which will validate the image url.

About the title tages int eh links, it's not complicated, but it's quite a pain to provide with all the code change.
Open your *_body.html templates (primarily index, viewtopic and viewforum as well as forumlist_body.html), look for the forum and topic links, all you need to do is to add the title with the proper template {VARIABLE} in the templates. Usually, the forum title is used in the forum link, and forum links are used in pages showing topics, so you should always be able to find the proper variable to use.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21407
Joined: Fri Apr 28, 2006 9:03 pm

Postby mhmdkhamis » Sat Nov 24, 2007 7:46 am

really it work very very very GOOD
many thanks for you
image title is so important for seo :D
mhmdkhamis
PR4
PR4
 
Posts: 437
Joined: Sun Nov 26, 2006 11:15 pm
Location: egypt

Postby mhmdkhamis » Mon Nov 26, 2007 10:42 pm

i added title today to links in index page ,viewforumand viewtopic
really it so nice
thanks dcz :D
mhmdkhamis
PR4
PR4
 
Posts: 437
Joined: Sun Nov 26, 2006 11:15 pm
Location: egypt

Re: add certion name to image by bb code

Postby louenlax » Thu Oct 29, 2009 7:38 am

How do I change a HTML code to BBCode? I have this code from Project Playlist and I want to put the code in my Gaia Online profile, and it only accepts BBCode. Is there any site that lets you change HTML to BBCode for free?
louenlax
 
Posts: 2
Joined: Sat Oct 24, 2009 10:45 am

Re: add certion name to image by bb code

Postby dcz » Sat Oct 31, 2009 10:33 am

Have you tried google ?
There are many online converter out there such as this one (not tested) :
http://www.seabreezecomputers.com/html2bbcode/
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21407
Joined: Fri Apr 28, 2006 9:03 pm


Return to phpBB Forum

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Yahoo [Bot] and 11 guests