Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 04-18-2008, 05:59 PM
Sinan COSKUN's Avatar
Sinan COSKUN Sinan COSKUN is offline
 
Join Date: Apr 2008
Location: Turkey
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Different show postbit username?

Hi,
I m sorry for my english
There is a question, pls help.
I want that users give a nick when they are registering
but they must be given their name and surname for the extra field (fieldX)
Their name and surname are show postbit.

Example:
username:1234
password: 5678
fieldX: Sinan COSKUN

user is enter forum:
use 1234 and pass:5678 but they are send post show postbit "Sinan COSKUN"

I do in this way:

postbit_legacy

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[field9]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[field9]
</if>
</div>

(to change $post[musername])
But group color same with member (admin, mod)
What can I do?
Reply With Quote
  #2  
Old 04-18-2008, 06:39 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You may want to try this hack:

https://vborg.vbsupport.ru/showthread.php?t=82787
Reply With Quote
  #3  
Old 04-18-2008, 07:56 PM
Sinan COSKUN's Avatar
Sinan COSKUN Sinan COSKUN is offline
 
Join Date: Apr 2008
Location: Turkey
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is approximatly.
I want as attachment pics
Attached Images
File Type: jpg 1.JPG (13.5 KB, 0 views)
File Type: jpg 2.JPG (18.3 KB, 0 views)
File Type: jpg 3.JPG (10.6 KB, 0 views)
Reply With Quote
  #4  
Old 04-18-2008, 10:02 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sinan COSKUN View Post
It is approximatly.
I want as attachment pics
I do not understand your request? You want them to log in as "1234" and have it show as a different name? That is what the hack I posted did. If not, please explain more.
Reply With Quote
  #5  
Old 04-18-2008, 11:12 PM
Sinan COSKUN's Avatar
Sinan COSKUN Sinan COSKUN is offline
 
Join Date: Apr 2008
Location: Turkey
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok
It is to be seen above hack username at postbit. But i m not want to see, only want to see display name.
you are say: "dont write belove code"

PHP Code:
<if condition="$post['musername']"><div class="smallfont">$post[musername]</div></if> 
But group color same with members (admin, mod)

why I am want?
Because you are think
I want to take members with their name and surname. What is your name? and surname?
" Jeremy xx "
maybe another somebady name is " Jeremy xx "
I m want for this reason hack.
They are use enter only username. After see display name (name and surname)
I m sorry for my english
Attached Images
File Type: jpg 4.JPG (18.7 KB, 0 views)
Reply With Quote
  #6  
Old 04-18-2008, 11:38 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you use the hack listed above, you may be able to contact the author (Steve M) about removing that line. He would know best.
Reply With Quote
  #7  
Old 04-19-2008, 12:54 AM
Mythotical Mythotical is offline
 
Join Date: Jun 2004
Location: Booneville, AR, USA
Posts: 1,428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The link you pointed out, just remove it when doing my Alias v2.1 mod.

Just to clarify:

Remove:
HTML Code:
<if condition="$post['musername']"><div class="smallfont">$post[musername]</div></if>
Then the display name will remain but not the username.
Reply With Quote
  #8  
Old 04-19-2008, 10:45 AM
Sinan COSKUN's Avatar
Sinan COSKUN Sinan COSKUN is offline
 
Join Date: Apr 2008
Location: Turkey
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Steve
Pls look at the fifth message above. I know anyway. But their colors are (admin, mod) to be color same with members. If we can solve this problem, It will be OK

Pls watch this swf

http://www.forumfood.net/swff/alias.swf

after the entering user's name and surname must be appear, not 06640
Reply With Quote
  #9  
Old 04-19-2008, 12:22 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Steve M View Post
The link you pointed out, just remove it when doing my Alias v2.1 mod.

Just to clarify:

Remove:
HTML Code:
<if condition="$post['musername']"><div class="smallfont">$post[musername]</div></if>
Then the display name will remain but not the username.
I think he wants musername formatting around the alias instead of normal formatting.
Reply With Quote
  #10  
Old 04-19-2008, 11:16 PM
Mythotical Mythotical is offline
 
Join Date: Jun 2004
Location: Booneville, AR, USA
Posts: 1,428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That would take some time for me to do a modified code for you, I am having to take care of a few things firstly then I will get the modified code done. Should have it done by Monday.
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 02:50 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.04458 seconds
  • Memory Usage 2,284KB
  • Queries Executed 14 (?)
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
  • (2)bbcode_html
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete