|
|
#1
| |||
| |||
|
Hello, i have tried to get this to work : I want to get the images posted on the forum to get a dynamic tag. I have tried to get the thread title in the tag but i failed. In the file functions_bbcodeparse.php you will find on line 1047 Code: return '<img src="' . $link . '" border="0" alt="" />'; Can someone help me out... I know google likes the alt tag ! thx kees |
|
#2
| ||||
| ||||
|
Hi A very good idea - replace the existing function in functions_bbcodeparse.php with the following - works a dream, but it does mean that all images in that thread get the same alt tag: I thought of the option of using the post title if that existed. But the postinfo data is not available in the bbcode file, so I would have to populate the postinfo variable. Would add quite a bit of overhead. So probably better to keep with just the threadtitle. [html]function handle_bbcode_img_match($link) { //added by t2dman 1 line global $threadinfo; $link = strip_smilies(str_replace('\\"', '"', $link)); // remove double spaces -- fixes issues with wordwrap $link = str_replace(' ', '', $link); //t2dman added threadinfo title return '<img src="' . $link . '" border="0" alt="' . $threadinfo['title'].'" />'; } [/html] Last edited by T2DMan; 13th Jun 05 at 10:38 PM. Reason: the ' " bug strikes again |
|
#3
| |||
| |||
|
thx ! i will try it right now |
|
#4
| |||
| |||
| Quote:
|
|
#5
| ||||
| ||||
|
I can't wait till I upgrade to v3.5!!! - the " ' bug in 3.06 is a real pain!!! - I have tried testing it on 3.5 and have not seen an issue yet. Sometimes it shows properly, other times not! |
|
#6
| |||
| |||
| Quote:
|
|
#7
| ||||
| ||||
|
No release date that I have seen - they are waiting for everyone to update their hacks and request any extra pinholes into the code - as well as giving the wider vb community some time to find any bugs. Quite a number of people have put the beta's onto their live boards. My guess, there wont be many substantial changes, and it there are, most people's hacks will not be on the main php source code, so upgrades will be easy. |
|
#8
| |||
| |||
| Quote:
I am assuming that you will be releasing an updated version of your SEO hack for 3.5? Should we expect any new exciting additions to the hack? |
|
#9
| ||||
| ||||
| http://www.vBulletin.com has the beta version live. http://forums.digitalpoint.com/ has it live. Floris of vBulletin has it live on all her forums ... If it is good enough for them ... |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search Engine Optimize vBulletin | T2DMan | SEO vBulletin | 260 | 23rd Nov 08 09:16 PM |
| Search Engine Optimize vBulletin 3.5 | T2DMan | SEO vBulletin | 9 | 8th Sep 05 01:46 AM |
| SEO vBulletin | T2DMan | SEO vBulletin | 0 | 15th Feb 05 03:33 PM |
| Search Engine Optimizing vBulletin | T2DMan | SEO vBulletin | 0 | 28th Oct 04 12:23 PM |