Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions
  #1  
Old 09-05-2017, 11:48 AM
alfreema alfreema is offline
 
Join Date: Aug 2017
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default bbCode Mention not rendering

I have taken over a vb4 site recently and am trying to convert it to vb5. The learning curve is steep for me (learning both vb4 and vb5), but so far the test conversion site is going well.

When the old posts render on the new test site, they look good except all of the old MENTION's don't render, it just displays the actual mention bbCode.

When I look in the vb4 system plugins, I see that they had DragonByte's @User Tagging plugin.

It appears however that vb5 has it's own mention system using @ syntax. However, also, on my vb5 install, I went to AdminCP --> Custom BB Codes --> BB Code Manager, and found a single entry for "mention". Is that due to my conversion and it seeing the DragonByte plugin, or is that something built into vb5 by default?

Assuming it's due to the DragonByte plugin, I was thinking I don't need that plugin anymore. So then I would need a way to convert all the MENTION bbCode into @ style syntax, is that correct? Is there a plugin or script or php or sql syntax to help me with this?
Reply With Quote
  #2  
Old 09-07-2017, 12:01 AM
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Jul 2013
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That probably came from the DBTech mod. How does the BBCode for mention from the mod look like?
Reply With Quote
  #3  
Old 09-07-2017, 10:58 AM
alfreema alfreema is offline
 
Join Date: Aug 2017
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, the old messages would look like:

"Did you see that awesome pic that [MENTION]Fred[/MENTION] posted?"

As a test I installed the Lite version of the DBTech User Tagging plugin and they turned back into mentions that you could click on. So that "fixes" it, but makes me feel like I am just going to continue using their system instead of the @ system built into vb5. I guess I can live with that until a version of vb5 comes out that breaks their plugin, because they are not actively developing their vb5 plugins. But it doesn't give me a warm and fuzzy.
Reply With Quote
  #4  
Old 09-08-2017, 06:23 PM
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Jul 2013
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vB5's user mention BBCode has this format:

[USER="14"]Fred[/USER]

It requires the userid of the user. So you cannot make an easy direct replacement of the [mention] tags to [user] tags in the database. It's still possible to do but it would require custom PHP coding to implement.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:23 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.05189 seconds
  • Memory Usage 2,179KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete