The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello to you all,
I want to know how can I make a pop-up menu and NOT A POP-UP window on the vbulletin. Since I searched a lot but I couldn't do it. Example: http://vbskins.com/theme/purplio.html and click on download (while you are not signned in). You will see a pop-up message to tell you to register. That is the message that I want to do. Thanks in advance |
#2
|
||||
|
||||
![]()
Look at the source code for the page. This javascript is called when you click on the download link - onclick="showregister(); return false;"
So, look in the page source for any non-vb javascript pages... there are several at the top of the page: HTML Code:
<script type="text/javascript">loggedin=0;</script> <script type="text/javascript" src="/js/jquery.js"></script> <script type="text/javascript" src="/js/common.js"></script> <script type="text/javascript" src="/js/thickbox.js"></script> <link href="/css/thickbox.css" rel="stylesheet" type="text/css" /> <link href="/css/rating.css" rel="stylesheet" type="text/css" /> <meta name="description" content="Purplio vB Skin:flowing purple theme" /> <meta name="keywords" content="Purplio purle full width vbulletin vb skin style theme template" /> <script type="text/javascript" src="/js/jquery.highlightFade.js"></script></head> Look through those and see if you can find that function. |
#3
|
|||
|
|||
![]()
Thanks Lynne for your reply.
Ok, now if I knew where is the function, how can I add it in my vbulletin page?? |
#4
|
||||
|
||||
![]()
You can add the line into the template for the page you want it in, like SHOWTHREAD if that is where you want to use it.
|
#5
|
|||
|
|||
![]()
Ok, do you know what is thing named?, as I am sure it is not a pop-up windows
|
#6
|
||||
|
||||
![]()
I told you, this is the line in the Downloads button - onclick="showregister(); return false;"
So, you need to look through those added javascript files for where he defines the function showregister. Then, copy that javascript to your forum (and any other functions that that function may call) and add the javascript to your download button and see if that works. |
#7
|
|||
|
|||
![]()
Thanks Lynne,
You didn't totally understand my last question. What I am saying is (Technically Speaking) what is the name of such action? Meaning if I wanted to google for it, what should I search for??? I am not asking anything about the javascript that is added to the website. Thanks once again! |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|