The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
New way to force guests to register Details »» | |||||||||||||||||||||||||||||||||||||||||||
ABOUT THIS MOD
My idea was to place a fix characater on the bottom right, wich forces guests to register an account, because i was sick of those standard "hello guest, register" mods. So with this little modification, you are able to display a nice and flashy character to all guests - forcing them to register All examples on the bottom are free to use. ----------------------------------------------------------------------------------------------------------------- LIVE-DEMO: http://www.srowned.org ----------------------------------------------------------------------------------------------------------------- IF YOU RUN VBULLETIN 3.X.X CHECK THIS THREAD 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: Quote:
To show it on EVERY PAGE add this: Quote:
Quote:
Quote:
Quote:
4. Mark as installed 5. You are done! ----------------------------------------------------------------------------------------------------------------- NEW FEATURE: RANDOM IMAGE ON EVERY PAGERELOAD Since some one at the forum came up with the wish, to have random images on every pagereload, i can now provide you a solution: 1. Add this code to your "additional.css" instead of the code provided on top: Quote:
3. Upload the file "rotate.php" to your FORUMROOT 4. Open "images/misc" via FTP and create a new folder called "ftr" (Complete path should look like this: /images/misc/ftr) 5. Upload your desired images to the "ftr" folder (supported file extensions are: PNG, GIF & JPG) 6. Your done! SPEND ME A BUCK If you like my Mod feel free to check my fiverr.com gig: http://fiverr.com/dszuecs/create-a-c...d-implement-it Download Now
Screenshots
Show Your Support
|
21 благодарности(ей) от: | ||
ajhalls, alhidaya, crazyboy1661, Da-Vinci, dandanch, Digital Jedi, doctorsexy, jaffaman, livenetc, Macgiber, Mopar1973Man, Mдяc, NoMatt3r, Ohmer, Savage Circuits, socialteenz, steve1966, SWSUSA, t-j, vijayninel, Worgen |
Comments |
#122
|
||||
|
||||
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 |
#123
|
|||
|
|||
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. |
#124
|
||||
|
||||
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 |
#125
|
|||
|
|||
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. |
#126
|
||||
|
||||
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 |
#127
|
|||
|
|||
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. |
#128
|
||||
|
||||
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.. |
#129
|
|||
|
|||
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. |
#130
|
||||
|
||||
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.. |
#131
|
|||
|
|||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|