vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - New way to force guests to register (https://vborg.vbsupport.ru/showthread.php?t=272295)

socialteenz 03-03-2012 12:07 PM

Quote:

Originally Posted by UK CHI3F (Post 2304400)
Our ex site owner has put this mod on our site and we need to change it but cant find additional.css
what else might it be called?
tahnks for any help in advance

Styles & templates -> Search in templates -> search for additional.css -> search only title (yes)

OR


Style manager -> Your theme -> Edit templates -> Css tempates-> additional.css

CAG CheechDogg 03-03-2012 06:00 PM

Yes awesome Mod! I love it dszuecs thanks a bunch! Marked as installed!

emgage 03-06-2012 07:47 AM

Can anybody help me with a medical themed graphic for my website www.drdiscuss.com ? It would be greatly appreciated!

Scyther 03-08-2012 03:03 AM

Cool one..i like it.
Marked installed and 5 stars!

killerford 03-11-2012 03:58 PM

Quote:

Originally Posted by emgage (Post 2306724)
Can anybody help me with a medical themed graphic for my website www.drdiscuss.com ? It would be greatly appreciated!

I wouldn't mind giving it ago for you. Have you got the PSD for your logo that you are currently using on your forum? or picture of the same graphic that you are using for that logo? so it's the same and would love a lot better.

killerford 03-11-2012 03:58 PM

Edit: I've read it wrong. When you say add the following lines does this mean at the top, bottom or anywhere?

Also i added it all and still nothing showing up.

datoneer 03-19-2012 06:21 PM

Can you add image for warez forum please??

blackie58 03-28-2012 10:07 AM

Hello

I am new to this so can you help me please

I have altered & imported the picture as per the instructions & altered the header

When i locate the additions.css file it is blank & i cannot find anything to add the lines into

Please can you help me find this :confused:

Thanks

blackie58 03-30-2012 10:20 AM

Anyone ???

rhody401 03-31-2012 10:52 AM

It won't be blank after you add those lines :)

rhody401 04-02-2012 05:34 PM

I love it! But it would great if it could be set with a delay or something, or even a 50/50 chance of coming up at all.

One problem I had was that it makes it impossible for most people to recover a lost password, because it covers up the submission button in the login.php screen. I changed the code to only work at the main menu, to get around this.

Thanks for the great mod!

hhumas 04-03-2012 03:27 PM

i cannot log in from my iphone Because this Register or Die image comes in front of login window and if i try to select the space for my username and password i am taken to the registration page and i cannot log in

NukeOZ 04-04-2012 07:19 AM

Here is my header code

Quote:

<vb:if condition="THIS_SCRIPT == 'index'">
<vb:if condition="$show['guest']"><a href="/register.php"><div class="forcetoregister"></div></a></vb:if>
</vb:if>

<div class="above_body"> <!-- closing tag is in template navbar -->
<div id="header" class="floatcontainer doc_header">
<vb:if condition="$stylevar['titleimage']"><div><a name="top" href="{vb:link forumhome}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a></div></vb:if>
<div id="toplinks" class="toplinks">
<vb:if condition="$show['member']">
<ul class="isuser">
<li><a href="login.php?{vb:raw session.sessionurl}do=logout&amp;logouthash={vb:ra w bbuserinfo.logouthash}" onclick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">{vb:rawphrase log_out}</a></li>
<vb:if condition="$show['registerbutton']">
<li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li>
</vb:if>
<li><a href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase user_control_panel}</a></li>
<li><a href="{vb:link member, {vb:raw bbuserinfo}}">{vb:rawphrase your_profile}</a></li>
<vb:if condition="$notifications_total">
<li class="popupmenu notifications" id="notifications">
<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>
<ul class="popupbody popuphover">
{vb:raw notifications_menubits}
</ul>
</li>
<vb:else />
<li class="popupmenu nonotifications" id="nonotifications">
<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}</a>
<ul class="popupbody popuphover">
<li>{vb:rawphrase no_new_messages}</li>
<vb:if condition="$show['pmmainlink']"><li><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></li></vb:if>
</ul>
</li>
</vb:if>
<li class="welcomelink">{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}</li>
<vb:if condition="$vboptions['enablefacebookconnect']">
{vb:raw facebook_header}
</vb:if>
</ul>
{vb:raw template_hook.header_userinfo}
<vb:comment><p>{vb:rawphrase last_visited_x_at_y, {vb:raw pmbox.lastvisitdate}, {vb:raw pmbox.lastvisittime}}</p></vb:comment>
<vb:else />
<ul class="nouser">
<vb:if condition="$show['registerbutton']">
<li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li>
</vb:if>
<li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}">{vb:rawphrase help}</a></li>
<li>
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v={vb:raw vboptions.simpleversion}"></script>
<form id="navbar_loginform" action="login.php?{vb:raw session.sessionurl}do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, {vb:raw show.nopasswordempty})">
<fieldset id="logindetails" class="logindetails">
<div>
<div>
<input type="text" class="textbox<vb:if condition="!$username"> default-value</vb:if>" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>" />
<input type="password" class="textbox" tabindex="102" name="vb_login_password" id="navbar_password" size="10" />
<input type="text" class="textbox default-value" tabindex="102" name="vb_login_password_hint" id="navbar_password_hint" size="10" value="{vb:rawphrase password}" style="display:none;" />
<input type="submit" class="loginbutton" tabindex="104" value="{vb:rawphrase log_in}" title="{vb:rawphrase enter_username_to_login_or_register}" accesskey="s" />
</div>
</div>
</fieldset>
<div id="remember" class="remember">
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> {vb:rawphrase remember_me}</label>
</div>

<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<script type="text/javascript">
YAHOO.util.Dom.setStyle('navbar_password_hint', "display", "inline");
YAHOO.util.Dom.setStyle('navbar_password', "display", "none");
vB_XHTML_Ready.subscribe(function()
{
//
YAHOO.util.Event.on('navbar_username', "focus", navbar_username_focus);
YAHOO.util.Event.on('navbar_username', "blur", navbar_username_blur);
YAHOO.util.Event.on('navbar_password_hint', "focus", navbar_password_hint);
YAHOO.util.Event.on('navbar_password', "blur", navbar_password);
});

function navbar_username_focus(e)
{
//
var textbox = YAHOO.util.Event.getTarget(e);
if (textbox.value == '<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>')
{
//
textbox.value='';
textbox.style.color='{vb:stylevar input_color}';
}
}

function navbar_username_blur(e)
{
//
var textbox = YAHOO.util.Event.getTarget(e);
if (textbox.value == '')
{
//
textbox.value='<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>';
textbox.style.color='{vb:stylevar shade_color}';
}
}

function navbar_password_hint(e)
{
//
var textbox = YAHOO.util.Event.getTarget(e);

YAHOO.util.Dom.setStyle('navbar_password_hint', "display", "none");
YAHOO.util.Dom.setStyle('navbar_password', "display", "inline");
YAHOO.util.Dom.get('navbar_password').focus();
}

function navbar_password(e)
{
//
var textbox = YAHOO.util.Event.getTarget(e);

if (textbox.value == '')
{
YAHOO.util.Dom.setStyle('navbar_password_hint', "display", "inline");
YAHOO.util.Dom.setStyle('navbar_password', "display", "none");
}
}
</script>
</li>
<vb:if condition="$vboptions['enablefacebookconnect']">
{vb:raw facebook_header}
</vb:if>
</ul>
</vb:if>
</div>
<div class="ad_global_header">
{vb:raw ad_location.global_header1}
{vb:raw ad_location.global_header2}
</div>
<hr />
</div>eader code.
I have uploaded the rotate.php to forum root I have made a folder in forum/images/misc/ftr and uploade images in there.

Here is a copy of the code in additional CSS.

Quote:

div.forcetoregister {
background:url(rotate.php);
background-repeat: no-repeat;
width:300px;
height:200px;
position:fixed;
right:1px;
bottom:0px;
z-index:1;
}
I have loaded the above to my default template and have also done the same to our additional template.
Either way I can not get this to work...I must be stupid or am I just missing something?
Thank you for your help in advance..

rhody401 04-04-2012 12:25 PM

Quote:

Originally Posted by NukeOZ (Post 2316627)
I have uploaded the rotate.php to forum root I have made a folder in forum/images/misc/ftp and uploade images in there.


I have loaded the above to my default template and have also done the same to our additional template.
Either way I can not get this to work...I must be stupid or am I just missing something?
Thank you for your help in advance..

The code is looking in images/misc/ftr but not ftp

Could your problem be this simple, that the images are uploaded to the wrong folder name?

Best regards
Rhody401 (i'm not the developer, just someone using it)

NukeOZ 04-05-2012 07:13 AM

Quote:

Originally Posted by rhody401 (Post 2316664)
The code is looking in images/misc/ftr but not ftp

Could your problem be this simple, that the images are uploaded to the wrong folder name?

Best regards
Rhody401 (i'm not the developer, just someone using it)

Thanks for your reply..However you are incorrect as the following explains..

Quote:

Open "images/misc" via FTP and create a new folder called "ftr"
So I have a folder called ftr..

Update on my issue is it seems to work on vbulletin default style..however when I click on the image I get a page error saying link does not exist....

So I guess to get my add on template to work I would need to add "images/misc/ftr"
To the styles folder..

Is this correect?

NukeOZ 04-05-2012 07:16 AM

Quote:

Originally Posted by rhody401 (Post 2316664)
The code is looking in images/misc/ftr but not ftp

Could your problem be this simple, that the images are uploaded to the wrong folder name?

Best regards
Rhody401 (i'm not the developer, just someone using it)

Oh my bad...:o I see what you mean I just made a typo error...oopssie...:eek:

haimanpop 04-05-2012 10:22 AM

thank you

Tri@de 04-12-2012 09:40 AM

on my vb 4.1.11 doesen't work...

i can't see any image.

GamerPerfection 04-14-2012 08:46 PM

Thanks, great Mod. The images you provide should have transparent backgrounds though as they would look better.

ywwz 04-16-2012 01:30 PM

works on 4.1.11 great job!

Da-Vinci 04-16-2012 08:02 PM

1 Attachment(s)
Working great for me on 4.1.11 PL1

https://vborg.vbsupport.ru/attachmen...1&d=1334610131

Emeralda 04-19-2012 07:14 PM

Freebie images for people who like us on Facebook: http://cafeotaku.net/forum
More will come if I'd feel some lovu lovu~

http://cafeotaku.net/forum/images/mi.../register3.pnghttp://cafeotaku.net/forum/images/mi.../register6.png


http://cafeotaku.net/forum/images/mi.../register7.pnghttp://cafeotaku.net/forum/images/mi.../register8.png

I noticed that it cuts of the images a bit and that the perfect height would be 200px.

ForceHSS 04-19-2012 10:01 PM

nice mod only one thing does not force any quest to register I looked over your forums with no problems you need to put it in a place that is there way a place that will make them click it

David_R 04-20-2012 06:41 AM

Hey you can add some car images in or someother pics for member to register bcoz my website is related to automobile niche So i require the pics from the same niche.

Emeralda 04-20-2012 11:30 AM

Quote:

Originally Posted by David_R (Post 2321814)
Hey you can add some car images in or someother pics for member to register bcoz my website is related to automobile niche So i require the pics from the same niche.

For the above mentioned "price," I could make you couple~
You'd also want to provide me with what text you'd like to see or some preferences for cars, because yeah, I don't know much about those >.>

UKCE_Hitman 04-20-2012 02:10 PM

also works great on 4.1.12 great job....

dszuecs 04-25-2012 06:57 PM

Quote:

Originally Posted by ForceHSS (Post 2321733)
nice mod only one thing does not force any quest to register I looked over your forums with no problems you need to put it in a place that is there way a place that will make them click it

It's not my goal to enforce senseless registrations - if someone is interested in the topics that your forum provides, there will be a registration :)

marccap 05-24-2012 10:56 PM

works nicely on my site and amended it to sonic the hedgehog :D

marccap 06-07-2012 10:28 AM

Any idea on how to have two different images at once on the page having one on the right and one of the left? I copied the code twice amending one to "left" but still only shows one. Any ideas?

Disco_Stu 06-10-2012 02:36 AM

Very cool. Marked installed.

Thanks

shayanr 06-16-2012 10:36 PM

I've done this like 10 times step by step and still can't get it to work :/

Alibass 06-16-2012 11:18 PM

I don't know what to say mate, I'm using it on a 4.2.0 site and it works fine.

brianvb 06-21-2012 11:17 PM

Just Awesome! Very cool...thanks!

T.P. 06-22-2012 05:36 AM

Does not work by me !!!

rhody401 06-23-2012 10:48 AM

It works fine but covers up the CONTACT US and other buttons at the bottom, which is bad if someone needs help registering.

I had to remove it. But liked the idea and incorporated the same type of thing with RBS (rotating banner system), just for unregistered users to see the same type of thing in an area that doesnt cover anything.

Thanks for inspiring the idea

GamerPerfection 06-24-2012 09:14 AM

Quote:

Originally Posted by rhody401 (Post 2342254)
It works fine but covers up the CONTACT US and other buttons at the bottom, which is bad if someone needs help registering.

I had to remove it. But liked the idea and incorporated the same type of thing with RBS (rotating banner system), just for unregistered users to see the same type of thing in an area that doesnt cover anything.

Thanks for inspiring the idea

You can easily place it elsewhere. like i've done with mine, I placed it more towards the centre so that the links you mentioned are not covered.

PWO81 06-28-2012 02:26 PM

Can someone create a dog or kitten for me? I would love to use this.

GamerPerfection 06-28-2012 04:53 PM

Quote:

Originally Posted by PWO81 (Post 2343591)
Can someone create a dog or kitten for me? I would love to use this.

Best thing to do is just search google for "dog png" and you'll find loads of images you might be able to use. Such as this sort of image: http://www.iconspedia.com/icon/dog.html

dlewisr 06-28-2012 05:01 PM

Nice mod. Thank you. Installed and rated.

jhon13 06-29-2012 12:20 PM

plzzzzzzz some gaming pics


All times are GMT. The time now is 04:59 PM.

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.01573 seconds
  • Memory Usage 1,846KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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