vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   profile (https://vborg.vbsupport.ru/showthread.php?t=294637)

ForceHSS 02-01-2013 02:51 AM

profile
 
1 Attachment(s)
I am trying to either find a plugin or edit some files so I can put a new tab in the profile section
screenshot explains more
I also need the option to add what is needed in this new section

Simon Lloyd 02-01-2013 04:40 AM

Try this https://vborg.vbsupport.ru/showthread.php?t=229881

ForceHSS 02-01-2013 08:29 AM

Tried that would not work nothing showed up for me. Maybe I missed something not sure could be just not working for 4.2.0

little update: with some work arounds I got it still need to do some testing

ForceHSS 02-01-2013 10:16 AM

1 Attachment(s)
It shows my story 3 times how can I remove the two so it only shows the tab one

ForceHSS 02-01-2013 05:17 PM

Would like it to look like the about me tab how would I go about doing this

Lynne 02-01-2013 05:33 PM

Write some CSS to make it look like how you want.

ForceHSS 02-01-2013 05:36 PM

have no idea how to do that not big in the coding part still learning

Digital Jedi 02-01-2013 06:45 PM

W3Schools is good place to learn CSS. Their tutorials are short and they provide an area to test code out. CSS is actually not terribly difficult once you get the basic principle.

ForceHSS 02-02-2013 02:40 PM

maybe some other time but for now if someone code help with the code i need to put in place

Digital Jedi 02-02-2013 02:50 PM

The thing with CSS, is that class names can be anything. You just make up the names. And you set certain style elements from certain classes. Since it's a custom style, and since vB4 kinda was wiggy with CSS elements, you'd kind of need to get into the Admin CP and test/tweak/repeat to get it how you wanted. CSS is easy to learn. But sometimes it takes a little jiggering on the backend to make it look how you want.

ForceHSS 02-02-2013 02:55 PM

easy to say but as I need this done asap I dont have time to learn it and it could take days I have no clue where to even put the code. Some coding I have no problems with but I have taken the time to learn it and normally I would with this it is just I need this done asap only for that I would and I am low in cash if i could pay someone to code it i would

--------------- Added [DATE]1359821835[/DATE] at [TIME]1359821835[/TIME] ---------------

I would appreciate any help that anyone can give

mokujin 02-02-2013 03:34 PM

Give us the code what you added, maybe some moderator can review it @.@
I also needed 2 days to add my own custom tab...

ForceHSS 02-02-2013 03:45 PM

in USERCP_SHELL
right after this code
<li class="{vb:raw navclass.profile}"><a href="profile.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase edit_your_details}</a></li>

I added
<li class="{vb:raw navclass.extra}"><a href="profile.php?{vb:raw session.sessionurl}do=extra">{vb:rawphrase edit_your_story}</a></li>

in admincp/profilefield.php
find

"$vbphrase[options]: $vbphrase[other]"

replace with

"$vbphrase[options]: $vbphrase[other]",
"$vbphrase[options]: $vbphrase[your_story]"

find

5 => "$vbphrase[options]: $vbphrase[other]",
add under

6 => "$vbphrase[options]: $vbphrase[your_story]",

and installed these two plugins
https://vborg.vbsupport.ru/showthread.php?t=244255
https://vborg.vbsupport.ru/showthread.php?t=229881
but i find i can only put the one option in there any more it is messed up

Lynne 02-02-2013 03:52 PM

What we would really need is a link to view it and an image of what you want it to look like.

ForceHSS 02-02-2013 04:24 PM

...

Simon Lloyd 02-02-2013 04:34 PM

How about just copying the css from the about me tab, change the class names in the css and then add the class="myclassname" to your divs....etc

ForceHSS 02-02-2013 04:38 PM

u mean this
/* about me */
.profile_content .blocksubhead h4 {
font-weight:bold;
display:block;
padding-{vb:stylevar right}: {vb:math {vb:stylevar padding}/2};
margin: 0px 0px 0px 0px;
display: inline;

and what is divs

Simon Lloyd 02-02-2013 05:02 PM

Yes i mean that and divs are like <div> its a container, you can apply the class to anything like <td class="profile">your content</td> so any container can adopt the css class.

ForceHSS 02-02-2013 05:12 PM

have no idea what code or where to put it i tried the one about just renamed it still no help

Lynne 02-02-2013 09:55 PM

HTML Code:

div#view-EPFP_tab {
    background-color: #333333;
    color: #CCCCCC;
    margin-top:  5px;
}
#view-EPFP_tab h5 {
    background-image: url("images/Styles/Blackend/gradients/navbar_bg.png");
    background-repeat: repeat-x;
    border: 1px dashed #828282;
    padding: 5px;
}


ForceHSS 02-02-2013 11:15 PM

Quote:

Originally Posted by Lynne (Post 2401428)
HTML Code:

div#view-EPFP_tab {
    background-color: #333333;
    color: #CCCCCC;
    margin-top:  5px;
}
#view-EPFP_tab h5 {
    background-image: url("images/Styles/Blackend/gradients/navbar_bg.png");
    background-repeat: repeat-x;
    border: 1px dashed #828282;
    padding: 5px;
}


add this to where

Simon Lloyd 02-03-2013 08:42 AM

additional.css

ForceHSS 02-03-2013 02:46 PM

Thank you all for the help but most of all Simon Lloyd for the help in the coding you Sir are a true Gent


All times are GMT. The time now is 05:53 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.01193 seconds
  • Memory Usage 1,755KB
  • 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
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete