Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 03 Mar 2018, 19:42
scottkoz20 scottkoz20 is offline
 
Join Date: Jan 2016
Real name: Scott
working on a new template modification - need help

I am working on modification that will allow members to link their Facebook Messenger Account to their user profile. I already have the postbit and profile fields set, that was not much of a lift. However, when I try to add information to the memberaction_dropdown, I can't get this to link right

Postbit - Works

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Member Dropdown - partial works (does not link to the user to message - bold is not working)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Thoughts?


Thanks,
Scott
Reply With Quote
  #2  
Old 03 Mar 2018, 19:54
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Try this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #3  
Old 03 Mar 2018, 20:03
scottkoz20 scottkoz20 is offline
 
Join Date: Jan 2016
Real name: Scott
that worked... now, I need to make this an if based on the post field

Thanks Mark!
Reply With Quote
  #4  
Old 03 Mar 2018, 20:23
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
I would recommend doing this with a plugin rather than hacking your templates. Create a plugin hooked at "memberaction_dropdown" with the PHP code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #5  
Old 03 Mar 2018, 20:32
scottkoz20 scottkoz20 is offline
 
Join Date: Jan 2016
Real name: Scott
I have a number of hacks already added to the memberaction_dropdown from the past leadership of the site I run now

I probably should look at adding them all as plug-ins at some point.

when I write-up the modificaiton, can I add the plug-in to the details (with you as a co-author)?
Reply With Quote
  #6  
Old 03 Mar 2018, 20:35
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Sure, anything I post as a suggestion in a thread can be used freely. While I appreciate the citation as co-author, it's not necessary.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #7  
Old 03 Mar 2018, 23:04
scottkoz20 scottkoz20 is offline
 
Join Date: Jan 2016
Real name: Scott
published


https://www.vbulletin.org/forum/showthread.php?t=326172
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 18:47.

Layout Options | Width: Wide Color: