vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Add Alt Text to Linked Images by BOP5 (VB 4.1.10+) (https://vborg.vbsupport.ru/showthread.php?t=277033)

BirdOPrey5 10-04-2017 12:33 PM

Glenn is one of the few people still developing for VB5 at: https://vbmods.rocks/

But be aware not all his stuff is free. It would be the only place I could suggest though.

Emad ELsayed 10-04-2017 01:21 PM

Thank you dear
Do you advise me not to upgrade to vb5?

MarkFL 10-04-2017 02:04 PM

Quote:

Originally Posted by Emad ELsayed (Post 2590263)
Thank you dear
Do you advise me not to upgrade to vb5?

That's something you would need to determine yourself...there are many stories of people who upgraded from vB 4.x to vB 5.x and only then realized it was a big mistake, and by then it's really too late, as going in the reverse direction is very hard to do.

I would advise looking carefully at the differences between the two versions, and then deciding which one will serve your needs better. If you have custom styles and/or coding, you will likely have a hard time finding equivalent items written for vB 5.

Also, do any and all testing of a test site first, and make certain you have all the issues ironed out smoothly before doing anything to your live site. :)

Emad ELsayed 10-04-2017 02:42 PM

...........

Emad ELsayed 10-19-2017 06:39 PM

Hello dear
How to set Alt Text Type: Thread Title + file name
Instead of file name + Thread Title
Best Regards

BirdOPrey5 10-22-2017 11:54 AM

You would have to edit the code. Sounds like a good opportunity to understand how PHP works. You can always reinstall from the original download if something goes wrong.

Emad ELsayed 10-22-2017 02:53 PM

I tried editing but without a good result
Could you please help me?

BirdOPrey5 10-24-2017 10:40 PM

Find the code-

Code:

      elseif ($vbulletin->options['bop5aat_alt_type'] == 2)
      {
        //File Name + Thread Title
        $ttext = $fname . " - " . $ttitle;
        $bop5alt = $ttext;
      }

Then edit the line:

Code:

$ttext = $fname . " - " . $ttitle;
swap $fname and $ttitle so...

Code:

$ttext = $ttitle . " - " . $fname;

Emad ELsayed 10-25-2017 10:47 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2590729)
Find the code-

Code:

      elseif ($vbulletin->options['bop5aat_alt_type'] == 2)
      {
        //File Name + Thread Title
        $ttext = $fname . " - " . $ttitle;
        $bop5alt = $ttext;
      }

Then edit the line:

Code:

$ttext = $fname . " - " . $ttitle;
swap $fname and $ttitle so...

Code:

$ttext = $ttitle . " - " . $fname;

Thank you dear
Now everything is ok
Best Regards

final kaoss 10-30-2018 06:54 PM

Thanks, I'll give this mod a shot.

Does this mod have to add the title everytime a page is loaded or is that information saved to a table after it finds a image?


All times are GMT. The time now is 02:25 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01281 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete