Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 06-27-2014, 10:51 PM
BasicGreatGuy BasicGreatGuy is offline
 
Join Date: Oct 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to be able to put the "add as friend" button anywhere in the postbit legacy template. Anyone know how to change the code to accomplish that, instead of having it at the bottom of each post?
Reply With Quote
  #12  
Old 06-28-2014, 02:13 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you try this MOD by @Ozzy47:
https://vborg.vbsupport.ru/showthread.php?t=305246

It has selectable template hooks.

Quote:
I would like to be able to put the "add as friend" button anywhere in the postbit legacy template.
That would require modifiying the postbit_legacy template yourself. Which is really not that hard to do.
Reply With Quote
  #13  
Old 06-28-2014, 03:07 AM
BasicGreatGuy BasicGreatGuy is offline
 
Join Date: Oct 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
Did you try this MOD by @Ozzy47:
https://vborg.vbsupport.ru/showthread.php?t=305246

It has selectable template hooks.



That would require modifiying the postbit_legacy template yourself. Which is really not that hard to do.
Thank you for the reply. Unfortunately, I do not have FTP access and cannot install Ozzy's mod. That is why i had to pick this mod. I do not know enough about coding, to be able to edit the legacy template in this regard, which would allow me to move the button wherever suits us best.
Reply With Quote
  #14  
Old 06-28-2014, 03:31 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most styles modify the vbulletin "postbit_legacy" template, so unless you are using the default vbulletin style, and you are not using any modification that modifies the "postbit_legacy" template then it will be a bit difficult to assist you. Sorry
Reply With Quote
  #15  
Old 06-28-2014, 04:03 AM
BasicGreatGuy BasicGreatGuy is offline
 
Join Date: Oct 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
Most styles modify the vbulletin "postbit_legacy" template, so unless you are using the default vbulletin style, and you are not using any modification that modifies the "postbit_legacy" template then it will be a bit difficult to assist you. Sorry
I have made simple changes to the postbit legacy (re: inserting profile extras to display on the left) I haven't done anything major. I back up the templates in case something goes awry. I don't mind trying if you think you might can explain to me where to insert the code etc.
Reply With Quote
  #16  
Old 06-28-2014, 05:48 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Show me a picture of your postbit_legacy, and where you want to place the add friend button.
Reply With Quote
  #17  
Old 06-28-2014, 12:47 PM
BasicGreatGuy BasicGreatGuy is offline
 
Join Date: Oct 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
Show me a picture of your postbit_legacy, and where you want to place the add friend button.



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

I would like to put the "add as friend" button right under <!-- AddToAny END --></vb:literal>
Attached Files
File Type: zip Legacy final everything copy.zip (4.4 KB, 2 views)
Reply With Quote
  #18  
Old 06-28-2014, 04:07 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just needed a picture, but that will work. For the sake of the thread it would have been better to attach it. Give me a bit, I will send it back with the change. Do me a favor and delete the code in the previous thread and resend the code as an attachment. There is no "</vb:literal>" ending tag in the above template text.
Reply With Quote
  #19  
Old 06-28-2014, 04:25 PM
BasicGreatGuy BasicGreatGuy is offline
 
Join Date: Oct 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
I just needed a picture, but that will work. For the sake of the thread it would have been better to attach it. Give me a bit, I will send it back with the change. Do me a favor and delete the code in the previous thread and resend the code as an attachment. There is no "</vb:literal>" ending tag in the above template text.
I attached the legacy as requested to my previous post. The reason I added the literal statements is because the code from "add any" kept giving me curly bracket open end errors and I didn't know any other way to try and fix it. I made sure I had cut and pasted all of the code from their site correctly. It didn't give me that kind of error with the smaller default button they offered. Just the one with more options.

Thank you very much for your time and help. I appreciate it.
Reply With Quote
  #20  
Old 06-28-2014, 04:41 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, makes for a more readable thread. I have to put away my laptop in a few minutes (about to board a plane), but will send it back shortly.
Reply With Quote
Reply


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 04:43 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08222 seconds
  • Memory Usage 2,274KB
  • Queries Executed 12 (?)
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
  • (5)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
  • (2)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
  • (1)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_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