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)
-   -   Mini Mods - Alphabetical List Thread (https://vborg.vbsupport.ru/showthread.php?t=269048)

MarkFL 02-15-2018 03:43 PM

Quote:

Originally Posted by Stratis (Post 2592921)
Can someone help please?
How insert (target="_blank) in this code:
Code:

<vb:if condition="$ctlist['active_other']">{vb:raw template_ct_thread_list_all_bit}</vb:if>
Thanks in advance :)

You would need to find where that variable is constructed in the plugin PHP code and edit the links there. :)

Stratis 02-15-2018 04:21 PM

Maybe this is the one

Code:

$ctlist['link'] = '<a href="showthread.php?'. $riga['threadid'] .'-'.$riga['title'].'">'.$riga['title'].'</a>';
Actually I want the threads that shows in the list to open on new window, now it opens in same.

How are you Mark? and thanks for answering :)

MarkFL 02-15-2018 06:15 PM

I'm good Stratis...and you?

That code looks like a good candidate...try changing it to:

Code:

$ctlist['link'] = '<a href="showthread.php?'. $riga['threadid'] .'-'.$riga['title'].'" target="_blank">'.$riga['title'].'</a>';
Or perhaps even better:

Code:

$ctlist['link'] = '<a href="' . fetch_seo_url('thread', $riga) . '" target="_blank">'.$riga['title'].'</a>';

Stratis 02-15-2018 06:35 PM

I am fine to, weather here is a bit cold though.


Thank you for another time for your help, I will test and see what happens. :)


EDIT:
It works fine Mark :)

Emad ELsayed 02-16-2018 03:03 PM

Sorry
Not working on 4.2.5

Stratis 02-16-2018 03:11 PM

Quote:

Originally Posted by Emad ELsayed (Post 2592942)
Sorry
Not working on 4.2.5

It works fine for me in vb4.2.5 and with 7.0.26 PHP
I do not remember in 7.1 php and can not test it again. :)

hhwforum 08-21-2018 09:05 AM

Hi! This mod available for vb3.8x?

RedHacker 08-30-2021 05:02 AM

No work in 4.2.5


All times are GMT. The time now is 03:32 PM.

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.01826 seconds
  • Memory Usage 1,728KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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