Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 03-17-2015, 01:55 AM
lawstudenthub lawstudenthub is offline
 
Join Date: Jun 2013
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Box above forums

Hi,

My forum: lawstudenthub.co.uk

I have a slider mod on my forum which has been there for a while, and I probably won't use it; however, I want to be able to put an image in a box similar to the space the slider is currently taking up (above forums table, but without moving the activity stream table downwards). I have attached a screenshot of what I mean.

I have tried looking through the slider's code, and my general code, but I cannot see the option to create that space without the activity stream table moving downwards.

Any suggestions on how to basically put a simple .jpg in the exact space the slider occupies?

Thanks
Attached Images
File Type: jpg Screen Shot 2015-03-17 at 02.53.11.jpg (83.0 KB, 0 views)
Reply With Quote
  #2  
Old 03-19-2015, 01:27 AM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is difficult for any of us to help without the code you are working with. Post a link to the forum/page where the slider is placed.
Reply With Quote
  #3  
Old 03-19-2015, 02:04 AM
lawstudenthub lawstudenthub is offline
 
Join Date: Jun 2013
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HM666 View Post
That is difficult for any of us to help without the code you are working with. Post a link to the forum/page where the slider is placed.
It was on my forum home: www.lawstudenthub.co.uk as per the screenshot above, but I disabled it because it looks unfinished. I can put the slider back on, copy the code (if you let me know from which template), take the slider off and post the code if that helps? Or do you definitely need the slider live on the forum to help?

Thanks
Reply With Quote
  #4  
Old 03-19-2015, 02:55 AM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just curious why not put your image in the slider itself instead of trying to do something really complicated?

You just want a jpg above the forums then? Do you want it showing on all pages or just the FORUMHOME page? I'm not really sure that you sending the code for the slider will do any good if you ever uninstalled it you would lose your image and your code, so making new code should be a better solution and leaving the slider completely out of it instead.
Reply With Quote
  #5  
Old 03-19-2015, 03:52 AM
lawstudenthub lawstudenthub is offline
 
Join Date: Jun 2013
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HM666 View Post
Just curious why not put your image in the slider itself instead of trying to do something really complicated?

You just want a jpg above the forums then? Do you want it showing on all pages or just the FORUMHOME page? I'm not really sure that you sending the code for the slider will do any good if you ever uninstalled it you would lose your image and your code, so making new code should be a better solution and leaving the slider completely out of it instead.
Yeah just a jpg in the space where the slider occupies in that screenshot on the FORUMHOME page. I just like how it's positioned, but cannot seem to replicate it when editing templates. I tried playing around with code (when slider disabled), but the 'Activity Stream' widget always moves down along with the forums so you're left with a blank space on the right.
Reply With Quote
  #6  
Old 03-19-2015, 04:07 AM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lawstudenthub View Post
Yeah just a jpg in the space where the slider occupies in that screenshot on the FORUMHOME page. I just like how it's positioned, but cannot seem to replicate it when editing templates. I tried playing around with code (when slider disabled), but the 'Activity Stream' widget always moves down along with the forums so you're left with a blank space on the right.
ok I'm seriously tired tonight so coding and tired do not mix lol. If no one has answered tomorrow when I get online I'll play around with it and get you a code for the box.
Reply With Quote
  #7  
Old 03-19-2015, 04:11 AM
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Posts: 1,255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would just use a custom grid if it were me.
Reply With Quote
  #8  
Old 03-19-2015, 06:46 AM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are no grids in forumhome.
Reply With Quote
  #9  
Old 03-19-2015, 02:09 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cellarius View Post
There are no grids in forumhome.
Yeah that is what I thought when I saw that post. Grids are only used for the CMS not the forum or any other part of vBulletin.
Reply With Quote
  #10  
Old 03-19-2015, 05:24 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can add an element with jquery.

Create a new ad in location above_footer, copy this code into it. Change the id to whatever you want and the picture to whatever you want.

Code:
$("#forums").before('<div id=name><img src="http://www.lawstudenthub.co.uk/bgtest8.jpg" style="display:block;width:100%;height:auto;padding-bottom:40px;"</div>')
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 07:38 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.04732 seconds
  • Memory Usage 2,270KB
  • 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
  • (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
  • (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
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete