vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - User CP Referral ID and Referrer/Referrals in Profile for vB 4 (https://vborg.vbsupport.ru/showthread.php?t=243455)

gsmlover4u 08-23-2010 09:19 AM

there is no option to save additional.css template
Code:

#referrallink {
border: {vb:stylevar usercp_nav_blockbody_border};
padding: 0px 0px 6px 6px;
}
#referrallink legend {
font: {vb:stylevar navbar_font};
color: {vb:stylevar link_color};
padding: 3px;
margin-left: 4px
}


Boofo 08-23-2010 10:03 AM

Quote:

Originally Posted by silent angel (Post 2087922)
thanks it is installed now but i m confused in some things it is not showing reffrer no on my profile..

where i find this option ? additional.css i did not find it plz do guide me step by step.
and
what about this code ? what to do with it .. ?

Code:

if ($mark_as_installed != 'clicked')
{
        $you_get = 'squat';
}
else
{
        $you_get = 'support';
}


The additional.css is a template. You need to edit that in the admin cp. The referrer info will be under the About Me tab (at the bottom) in the user's profile.

You don't need to do anything with the $mark_as_installed code.

sas forum 08-24-2010 12:52 AM

I am running VB 4.0.6 PL! and I clicked "installed" for this mod.

I imported the product and added the additional CSS, but nothing shows in the User's CP. This is a pretty straight-forward install, too easy, so I thought maybe something got boogered up when In uploaded the file.

I uninstalled and tried again, still, nothing shows. Any ideas?

Thanks for this. I have no idea why VB seems to leave stuff like this out of their design.

Boofo 08-24-2010 10:39 AM

There is no 4.0.6 PL version. ;)

Also, are you using a custom skin?

sas forum 08-24-2010 08:17 PM

Quote:

Originally Posted by Boofo (Post 2088774)
There is no 4.0.6 PL version. ;)

Also, are you using a custom skin?

sorry bro, I boogered it up, I guess I was tired or something when I posted that.

I am running 4.0.6.

I got the PL 1 from the little text at the top of the admin area that says:

"Latest version available: 4.0.6 Patch Level 1" and links to the vbulletin members area for the download.

I have not done the patch yet. Too lazy I guess, or maybe i am sick of updating VB and just need a few days off from it :)

I am running a modifieid version of the default template that I created using that new template designed in VB 4. Basically, the only stuff that was changed was the colors.

Boofo 08-24-2010 08:49 PM

Quote:

Originally Posted by sas forum (Post 2089033)
sorry bro, I boogered it up, I guess I was tired or something when I posted that.

I am running 4.0.6.

I got the PL 1 from the little text at the top of the admin area that says:

"Latest version available: 4.0.6 Patch Level 1" and links to the vbulletin members area for the download.

I have not done the patch yet. Too lazy I guess, or maybe i am sick of updating VB and just need a few days off from it :)

I am running a modifieid version of the default template that I created using that new template designed in VB 4. Basically, the only stuff that was changed was the colors.

Ah, ok, you're running just the forums then. The suite doesn't have that upgrade.

You don't get the referral link box at the top of the page when you click on Settings in the header? If not, then you might not have the template hook this uses in your new template. Also, the referral names will be under the About Me tab in the profile.

sas forum 08-24-2010 09:26 PM

Don't really know. I just clicked on the link in the admin cpanel and it lets you move a dot around on some colors to get the colors you need, then it allows you to save it.

right now I have been telling people how to make their own referral link by finding out their member number and adding it to the link like:

forum/index.php?referrerid=(insert number here)

I just figured this would make it so much easier for them

Thanks man, I will try it on the default template that came with it and see if it works.

Boofo 08-24-2010 09:44 PM

Actually, unless you've changed it, this:

forum/index.php?referrerid=(insert number here)

should be this:

forum/forum.php?referrerid=(insert number here)

Let me know if it works with the default template and if you want, I can take a look at it and see what we need to fix it for you. PM the login details for the admin cp if you want me to look at it for you.

sas forum 08-24-2010 10:40 PM

Quote:

Originally Posted by Boofo (Post 2089073)
Actually, unless you've changed it, this:

forum/index.php?referrerid=(insert number here)

should be this:

forum/forum.php?referrerid=(insert number here)

Let me know if it works with the default template and if you want, I can take a look at it and see what we need to fix it for you. PM the login details for the admin cp if you want me to look at it for you.

Don't know, they both worked. I even tried them with different member numbers at the end and they both inputted the data into the referred by section in the registration form. I will just keep trying to get this mod to work, because it would be a lot easier and require a lot less work on the member's part. Let me check the default template, see what it does and get back with ya. Thanks.

Boofo 08-24-2010 10:58 PM

Quote:

Originally Posted by sas forum (Post 2089087)
Don't know, they both worked. I even tried them with different member numbers at the end and they both inputted the data into the referred by section in the registration form. I will just keep trying to get this mod to work, because it would be a lot easier and require a lot less work on the member's part. Let me check the default template, see what it does and get back with ya. Thanks.

If you are just running the forums, it might work with index.php. I'm not sure how that is set up, to be honest.

Let me know if it works with the default template and we can go from there. Since I run the default skin, that is what it was written on.


All times are GMT. The time now is 08:54 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.01314 seconds
  • Memory Usage 1,751KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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