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)

ICC FORUM 01-08-2012 02:18 PM

1. Upload your desired image to "/images/misc/register.png" (if you want my symples, feel free to use them, they are all attached below)

2. Open your "additional.css" and add the following lines:

Where do i find No 1, is it in AdminCp or via FTP..
Can someone post a link walkthrough on where to find No2, as i have checked in Templates etc, all i am finding is Main CSS, and that is saying "This CSS file is obsolete and is available here for reference purposes only."

We are running VB 4.0.3

Just learning how to do Add Ons so excuse my Ignorance, But would really like to add this as we have loads of Visitors who view and read how to Register and i think this Add On will help encourage our Forums Growth..
Really apprieciate ALL Help..

Thanks

keyness 01-08-2012 02:29 PM

1st step is about FTP, you'll put that png file to /images/misc/ folder.

And 2nd step, Admin Panel>Styles & Templates>Style Manager>choose Edit Templates from dropdown menu at the right> double click to CSS Templates(It has blue text color)>Additional.css, paste the code to the blank area.

ICC FORUM 01-08-2012 03:01 PM

Ok, I dropped a Image in /images/misc/ folder and the Image is named register.png.. Done step 2 in Additional CSS and the Header,

Logged out and No Image for Guests to see, Have i done the Image part wrong for selection..??

Thanks

keyness 01-08-2012 03:09 PM

What about step 3? Did you put one of the codes to the top of header template? Be careful, there are 3 codes in step 3, but you'll just put one which you want to use.

If you done everything correctly, it should work. If it doesn't, pass your link please, so we can look at.

ICC FORUM 01-08-2012 03:13 PM

Yes Mate, i put
<vb:if condition="$show['guest']"><a href="/register.php"><div class="forcetoregister"></div></a></vb:if>
In the Header, I clicked on Header on the CSS drop column and added as the First line as stated,,

Website is
http://internationalchristineclub.net/forum.php

keyness 01-08-2012 03:22 PM

It works actually, If you hover your mouse to the right below corner of the forum, you'll see it turn to link icon. So you have a problem related to picture.

http://internationalchristineclub.ne...c/register.png

When I visited this page, I got a 404 error, so there is no image in that directory. Make sure you put register.png to the right directory.

ICC FORUM 01-08-2012 03:29 PM

So have i Dropped the Image to the wrong place vis FTP, I Doubled clicked Images and then Double Clicked Misc, then got a list of Images and just Dragged and dropped the Image, There was No mention of Register.png, that is why i named the Image that.

What do you mean by
Make sure you put register.png to the right directory.

Sorry for the Ignorance but i am new to this and trying to learn,

Thanks for Helping..

keyness 01-08-2012 03:35 PM

Oh!

There are 5 sample images at the below of 1st post (anime charachters and super mario), right click and then save one of those to the your computer, then upload it via FTP to the images/misc directory.

You're welcome by the way.

ICC FORUM 01-08-2012 03:55 PM

Downloaded one of the PICs, Saved to computer, Dragged and dropped it in to Images/Misc on my FTP. Still not showing up though,

I Edited Permission to 0755 as other Images are also, But still nothing, As you say if i scroll with mouse the Link is there to take you direct to registration, so that all appears to be working, it just isnt picking up the Image,

I am sure i am missing something very simple, and am sure i am putting the Image in the correct area on the FTP.
Do i have to load the PIC in to the AdminCP anywhere as well ??

I can view the PIC in my FTP also..

keyness 01-08-2012 04:06 PM

Well, there's nothing to do with Admincp, because still I get 404 error when I tried to reach the register.png image.

For example there's no problem for accept.png (this is a standart vbulletin image) in images/misc folder

http://internationalchristineclub.ne...isc/accept.png

But a 404 page when I try register.png:

http://internationalchristineclub.ne...c/register.png

I really don't know what can be the problem if you do it all correct.

ICC FORUM 01-08-2012 04:12 PM

OK, I think i can see what is happening, Can i PM you privately ..

ICC FORUM 01-08-2012 06:04 PM

Many Thanks, Installed,,

http://internationalchristineclub.net/forum.php

I have used one of the above Symbols for now, but will update it with one of my own later..

Jncocontrol 01-09-2012 10:22 AM

Is there a way to only show certain images?

dszuecs 01-09-2012 06:01 PM

Quote:

Originally Posted by Jncocontrol (Post 2285494)
Is there a way to only show certain images?

It will randomly show every images you upload, so simply only upload those you want to be displayed, or am i missunderstanding your question?

temsamane 01-09-2012 09:16 PM

its working for me (4.1.9) but i want also a rotator for registered users (with other pictures) and special images for moderators. How can i do this?

dszuecs 01-09-2012 10:09 PM

Quote:

Originally Posted by temsamane (Post 2285696)
its working for me (4.1.9) but i want also a rotator for registered users (with other pictures) and special images for moderators. How can i do this?

For rotating images use the one described above.
To be able to display images out of another folder espacially for moderators, you'll need to set up a little <vb:if> script, wich points to another rotate.php file (rotate_mod.php for example)

Jncocontrol 01-10-2012 12:44 AM

Quote:

Originally Posted by dszuecs (Post 2285604)
It will randomly show every images you upload, so simply only upload those you want to be displayed, or am i missunderstanding your question?

Nah, You got it.

cs28702 01-10-2012 06:56 AM

Quote:

Originally Posted by weave (Post 2264525)
This is an awesome hack....who can make me an image that goes with an outdoor/archery/hunting forum with a dark background? I do not have such skillz....

fishing hunting outdoors / light background would be awesome!!

Lazorbeam 01-10-2012 11:37 AM

Quote:

Originally Posted by ICC FORUM (Post 2285314)
Many Thanks, Installed,,

http://internationalchristineclub.net/forum.php

I have used one of the above Symbols for now, but will update it with one of my own later..

Save the image as a PNG with no background, the white block you have right now looks very tacky.

stator 01-10-2012 11:56 AM

How to make my own photo ?

Almightychucho 01-11-2012 03:32 AM

Awesome! Thnx

ICC FORUM 01-14-2012 12:44 AM

Can someone Help Please, I changed the Image tonight and although it Appears , When i click the Image to Register (test) i am getting a 404 code, If i use the regular Register Button, I still get the 404 Code, I have deleted New Image and gone back to my old one and am now getting the same 404 Code,
I even deleted the Header Code above and i still et the 404 code when using the Original Register button,
Can anyone help ????

Forum is http://internationalchristineclub.net/forum.php

Thanks

Schoelle 01-14-2012 08:21 AM

Quote:

Originally Posted by ICC FORUM (Post 2287497)
Can anyone help ????

Forum is http://internationalchristineclub.net/forum.php

Thanks

Is the file http://internationalchristineclub.net/register.php existent?

Killhunter 01-14-2012 10:58 AM

Just one wish: Is it possible, to only show the image to people wich have a min-width of 1600px for example?

ICC FORUM 01-14-2012 11:42 AM

Quote:

Originally Posted by Schoelle (Post 2287574)

I checked in the AdminCP to see if the link internationalchristineclub.net/register.php had been removed or Switched off, But i cannot find mention to it anywhere,

I let in a New Registered User the day before via Facebook Connect, I had that set up with a auto 2nd user group , Strange thing when i went to delete the 2nd user group somethnig clicked over to Default, I ignored it BUT that may have somthing to do with this problem, I have since deleted the 2nd user group for Facebook users, I checked in New Registration Options on ACP and find no mention of the internationalchristineclub.net/register.php,,

So now unsure what of the 2 issue,s has caused this Problem, Really Appreiciate any help as not that computer savvy, although learning, But i am Not just pressing buttons for the hell of it..

Thanks

Schoelle 01-14-2012 12:54 PM

Check via ftp if the file is 'physically' on the server. I doubt it!
If the file is missing upload it from your local archive.

doctorsexy 01-14-2012 02:35 PM

Working with 4.1.0 ...smashin

doctorsexy 01-14-2012 03:25 PM

if you dont want it to show on the cms put this in....

Code:

<vb:if condition="THIS_SCRIPT != 'vbcms'"></vb:if>

dszuecs 01-19-2012 07:28 PM

Quote:

Originally Posted by doctorsexy (Post 2287712)
if you dont want it to show on the cms put this in....

Code:

<vb:if condition="THIS_SCRIPT != 'vbcms'"></vb:if>

Thanks for your input!
For those wondering how to make their own avatar: Simply google for image render :up:

Jpolola 02-01-2012 10:08 AM

Nice Mod.. Many Thanks

racingsolution 02-02-2012 04:16 AM

Just installed.. Very cool.. Thank you

discodoran 02-09-2012 02:12 PM

awesome modification i really like it.... installed...

hendri 02-17-2012 02:49 AM

awesome. check in www.indoamulet.com :)

Kyoruu 02-17-2012 08:07 AM

wery nice mod x) thank you for that ^^

sevak 02-20-2012 06:26 PM

Thanks Brother...

rob01 02-22-2012 06:03 AM

Im sure what i might be doing wrong, but im using the pics that you provide, but just 1 works fine, the others are not in the left corner and are in a smaller size any idea?

225 02-23-2012 01:22 AM

Will try it when I get Photoshop back. Looks awesome.

UK CHI3F 02-28-2012 09:02 PM

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

killerford 03-01-2012 12:26 AM

getting error when uploading the file to file/plugin

socialteenz 03-03-2012 12:04 PM

Quote:

Originally Posted by killerford (Post 2304897)
getting error when uploading the file to file/plugin

Which file are you uploading? No upload is required. rotate.php is optional..


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.01718 seconds
  • Memory Usage 1,819KB
  • 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
  • (9)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