vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Parse BBCode in Custom Profile Fields (https://vborg.vbsupport.ru/showthread.php?t=103460)

ImportPassion 12-20-2005 10:00 PM

Parse BBCode in Custom Profile Fields
 
Why? Cause I think this should be the norm and others in this thread seem to want it. https://vborg.vbsupport.ru/showthread.php?t=101248

Be nice to also have WYSIWYG on the textareas, but that's another hack.

There are 2 versions of this.
The first one, product-parse_bbcode_in_profile_1.1.xml, is for anyone that does not have the MySpace style profile template hack installed. You can find that hack here https://vborg.vbsupport.ru/showthread.php?t=101248

The second, product-myspace_style_profile_version.xml, is for users that are using that template hack.

INSTALLATION:
Install the Product and that's it. Will install 1 new plugin. I tested as best I can, but see what happens. Can't provide 100% support, but I will see what I can do.

For non-MySpace profile template users, some options:
--------------------------------------------------------------------------
Optionally remove some code.
https://vborg.vbsupport.ru/showpost....4&postcount=18
--------------------------------------------------------------------------
If you only want certain fields, put this code for EACH fieldx u want parsed in member_customfields hook location.
https://vborg.vbsupport.ru/showpost....5&postcount=19

--------------------------------------------------------------------------

If you did this code change for 1.01, u can now remove it as it is not needed for 1.1.
v.1.01 Code Change

in admincp/profilefield.php find

PHP Code:

// #################### PRE-CACHE TEMPLATES AND DATA ###################### 

add above that

PHP Code:

define('THIS_SCRIPT''profile_admin'); 

end 1.01 code change

################################################## ##
Non-MySpace template hack
v.1.00 - Original Release
v.1.01 - Update to fix some weird issue in admincp when going to profile field manager.
v.1.1 - re-written - totally works. :o

MySpace Template hack version:
1.0 - Original release.

Kihon Kata 12-21-2005 06:13 PM

w00t! im first. pee pee now

ImportPassion 12-21-2005 06:17 PM

seems there is a small bug when u go to the profile fields manager. Looking into it.

ImportPassion 12-21-2005 08:35 PM

Updated the XML and added a code change, for now. Will try to get away from that in next release.

msimplay 12-21-2005 11:16 PM

Quote:

Originally Posted by 7thgenCivic.Com
Be nice to also have WYSIWYG on the textareas, but that's another hack.

Can you make this too ? :D

ImportPassion 12-22-2005 04:13 AM

ya, i may look into it.

Kihon Kata 12-22-2005 05:21 AM

Quote:

Originally Posted by TonysDesigns
w00t! im first. pee pee now

This is strange. I installed it and used things like [ b] and [ /b], but then when I 'rededit' the usercp, it sets them to <b> and </b>

What is thatall about?

msimplay 12-22-2005 10:58 AM

Yeah i'm getting the same too the bbcode is not getting converted back to bbcode instead its being left as html

Kihon Kata 12-23-2005 12:52 AM

Quote:

Originally Posted by msimplay
Yeah i'm getting the same too the bbcode is not getting converted back to bbcode instead its being left as html

Bump? Is someone going to fix the problem?

ImportPassion 12-24-2005 03:21 AM

sorry. was building new puter and had no access.

anyway, I will check it out.


All times are GMT. The time now is 09:00 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.01313 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_php_printable
  • (3)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
  • (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