Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 Programming Discussions
  #1  
Old 02-07-2016, 09:15 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vb:raw floatLocation

Hello there. . .

Anyone know where this can be edited? {vb:raw floatLocation}
Or can it be done with css.additionals?

Code:
<vb:if condition="isset($floating) AND $floating">
		scrolltofixed-floating
		scrolltofixed-<vb:if condition="isset($floatLocation) AND in_array($floatLocation, array('top', 'bottom'))">{vb:raw floatLocation}<vb:else />top</vb:if>
	</vb:if>
Trying to change it's floating position. .
Thanks again . .
Reply With Quote
  #2  
Old 02-07-2016, 12:48 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Those css values are set dynamically by footer-rollup.js file. You could try setting the value you want in css_additional.css with the !important attribute and see if it sticks.
Do you have an example of what exactly you are trying to accomplish?
Reply With Quote
  #3  
Old 02-07-2016, 01:28 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Replicant View Post
Those css values are set dynamically by footer-rollup.js file. You could try setting the value you want in css_additional.css with the !important attribute and see if it sticks.
Do you have an example of what exactly you are trying to accomplish?
The closest example would be similar to clicking on a Facebook picture and having the picture pop up on one side, and the comments (thread) displaying on the other. . .

It isn't easy and after 2 days messing, I think I am going the wrong way about it. . .

Thanks anyway. . .
Reply With Quote
  #4  
Old 02-07-2016, 04:08 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The scrolltofixed css class is for the floating bar (paging, reply button, etc.) on the threads. By your description, you are wanting to basically present the thread in a totally different manner than vbulletin does?
Reply With Quote
  #5  
Old 02-07-2016, 04:47 PM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Replicant View Post
The scrolltofixed css class is for the floating bar (paging, reply button, etc.) on the threads.
Still haven't figured that one. .

Quote:
Originally Posted by Replicant View Post
By your description, you are wanting to basically present the thread in a totally different manner than vbulletin does?
Yep! I had the idea that it is possible using a css.additional.css and unique style and template for that channel only. I think it could be done with what I have achieved already but it looks a bit weird and needs a lot of refinement.

I will give it a rest for a while. Not so easy on the body doing this kind of stuff.

Cheers. .
Reply With Quote
  #6  
Old 02-07-2016, 07:26 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doing that type of major makeover is better done at the template level considering several of the css classes are hard coded and are difficult to impossible to override in css_additional.css. It will also give you more flexibility as far as doing the exact type of layout you want to do. The downside however is some of the classes will need to be retained. The javascript on the pages relies on these classes to trigger several ajax functions in the threads and that will take some time to evaluate which ones you do and don't need.
Reply With Quote
  #7  
Old 02-08-2016, 08:51 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Replicant View Post
Doing that type of major makeover is better done at the template level considering several of the css classes are hard coded and are difficult to impossible to override in css_additional.css. It will also give you more flexibility as far as doing the exact type of layout you want to do. The downside however is some of the classes will need to be retained. The javascript on the pages relies on these classes to trigger several ajax functions in the threads and that will take some time to evaluate which ones you do and don't need.
It's way above my head Mr Replicant. . .Too difficult for a person at my level of knowledge.
I am just messing about with the software as a hobby. I couldn't take it seriously.. Even if I did, I would choose a different platform. Version 5 is really not worth the effort. . Way too much history of disappointment. . .

I have a live site, had one for months but it has been turned off since I uploaded.
I just play about with it. . .

Thanks for your time. . .
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 12:16 PM.


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.05360 seconds
  • Memory Usage 2,215KB
  • Queries Executed 11 (?)
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
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete