vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   CSS and Postbit Help (https://vborg.vbsupport.ru/showthread.php?t=312598)

BasicGreatGuy 06-27-2014 09:51 PM

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?

tbworld 06-28-2014 01:13 AM

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.

BasicGreatGuy 06-28-2014 02:07 AM

Quote:

Originally Posted by tbworld (Post 2504159)
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.

tbworld 06-28-2014 02:31 AM

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 :(

BasicGreatGuy 06-28-2014 03:03 AM

Quote:

Originally Posted by tbworld (Post 2504166)
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.

tbworld 06-28-2014 04:48 AM

Show me a picture of your postbit_legacy, and where you want to place the add friend button.

BasicGreatGuy 06-28-2014 11:47 AM

1 Attachment(s)
Quote:

Originally Posted by tbworld (Post 2504184)
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>

tbworld 06-28-2014 03:07 PM

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.

BasicGreatGuy 06-28-2014 03:25 PM

Quote:

Originally Posted by tbworld (Post 2504294)
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.

tbworld 06-28-2014 03:41 PM

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.


All times are GMT. The time now is 05:57 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.01636 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)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