![]() |
Were do I install that code Alibass ?
I was really wanting the rotate code, but if one image is all I can do then that will have to do. |
Where did you put the rotate.php file?
|
Quote:
|
Is this your forum root? If not you need to add rotate.php to your forum root and follow the instructions for the rotating images to works.
1. Add this code to your "additional.css" instead of the code provided on top: div.forcetoregister {2. Download the file "rotate.php" wich is attached below 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! |
I've done all of that and yes its my forumroot and yet it still hasn't worked.
|
Did you add one of these in the header template?
3. Open your "header" template and add the following line on top: To show it on EVERY PAGE add this: <vb:if condition="$show['guest']"><a href="/register.php"><div class="forcetoregister"></div></a></vb:if>To show it only on FIRST PAGE (forum home) add this (thx @ Whity): <vb:if condition="THIS_SCRIPT == 'index'">To show it on every page EXCEP THE REGISTER PAGE, add this code: <vb:if condition="THIS_SCRIPT != 'register'"> |
No as I have version 4.2
|
Quote:
Cheers again |
The image is now showing, but when you click the image it takes you to a page that says
Not Found The requested URL /register.php/ was not found on this server. Apache Server at ringnews24.com Port 80 |
I've been having a few problems with this mod, it broke my blog and it stopped guests registering on my forum.
Help Topic from Vbulletin.com https://www.vbulletin.com/forum/show...join-the-forum |
excellent add on brotha'
|
Quote:
|
Quote:
The script is working as expected now. Please check your blog and give me feedback if there are any errors. Cheers |
Thanks dszuecs, no current problems with the blog.
Thanks a lot for fixing this for me. |
Quote:
|
Hi there,
I've been looking for something like this, but is there a way to add an 'x' to close the image? Thanks, Spadow |
Quote:
|
Quote:
|
Quote:
|
OK, I have never claimed to be a "programmer". I have installed VB myself and it works. I am REALLY trying to get this mod in and am having NO luck.
I have done the following... 1. placed my register.png file in the images/misc/ folder 2. placed this code in (what was my empty) additional.css file: div.forcetoregister { background:url(images/misc/register.png); background-repeat: no-repeat; width:300px; height:200px; padding:0 5px 3px; position:fixed; right:1px; bottom:0px; z-index:1; } 3. Included the code in bold to my header file. This is not all of the header file, but just the top part... <vb:if condition="THIS_SCRIPT != 'register'"> <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">... . . . . Am I missing something? |
it appears the link is there when you hover over, but the image does not show...
www.forums.whitetailworld.com is the link btw... also, thanks in advance!!! |
Try it on every page except registration page and see if it works. That is how I have mine set and it works fine.
Code:
<vb:if condition="THIS_SCRIPT != 'register'"> |
Quote:
You might try putting forums/image/misc/register.php The problem is the image is not in your root correctly from the way the mod is written. |
problem solved...oh how I wish I knew what I was doing...
|
glad you got it work out...
|
Excellent mod. I went with a non-anime theme that works for me.
|
I tried to add but not working on my forum: www.talkinwebforum.com
|
Quote:
|
I'm trying to get this to work in version 4.2.0 without any luck.
I've pasted the code into additional.css Code:
div.forcetoregister { and I've pasted this into my header template file this is just the top part : Code:
<div id="g_wrapper"> No image shows when I am logged out, I know I am missing something, but I can't think what. |
Quote:
|
1 Attachment(s)
I have this installed and it looked pretty good...
But I wanted animated ones... I also wanted ones that sounded normal... Not worded like I am seeing you dont Own an account yet... Should be more normal Like I see you have not registered yet...or something along those lines... Own account or owning an account do not make sense to me... So... I found out by experimenting a bit that you can simply add an animated gif and it too works.. so I have some I am having designed added to my site.. With Custom Text that is specific to my site... The only problem is they are a bit larger in file size and space... I need to bump them up in the page a bit and move some from the far right over a bit to the left to allow the larger image to display... How can I do this? To add an image as a Gif I simply named it as follows... registerV1 then .gif then I numbered as shown here 1 2 3 4 5 and so on I have ten I have had made for this works like a charm... SO THANKS... So now as mentioned I need a way to make the larger sizes display properly... Thanks to all... I will attach an examples... I am working on the text as well...lol I will try to resize I see it now reading of course... |
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've installed this and love it, now my guests see a picture of Sir Alex Ferguson with a think bubble saying he has to remember to join the forum.
|
I cant find the additional Css..I know...
I did find it last night and was able to increase the size without goig crazy but now I want to size it better and Can not find the Css again...lol Help... |
Quote:
- select 'Search in Templates' - On top, select your Style - Search for 'additional.css' |
Thanks I know dumb questions I am Noob to the mod side of Vb, used to think it was great by iself now I realize I was missing a whole world or addons and customizations...
So to all thanks again for understanding. Thanks for the help also...:D |
|
Just a little note that might save someone time. My forum is installed in a sub-directory /players, because I have a WordPress homepage installed in the root-directory. I installed the mod and it did everything that it should except when the image is clicked it sends new registers to the WordPress homepage instead of the form registration form. I scratched my head for about 20 minutes and then I realized that I needed to make a small change in the header code.
If anyone out there has the same issue then you need to add your sub-directory to you header code. <vb:if condition="$show['guest']"><a href="/subroot/register.php"><div class="forcetoregister"></div></a></vb:if> |
May I ask, where is addition.css located?
|
Quote:
|
All times are GMT. The time now is 03:57 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|