The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#22
|
||||
|
||||
works this hack also in the full 2.0 version?
|
#23
|
|||
|
|||
I'm between jobs and I currently don't have time to rewrite those hacks. They'll be available within 14 days.
|
#24
|
|||
|
|||
Just a little note...something else you could do is add:
<META HTTP-EQUIV="Refresh" content="180;URL=#"> to your header. It seems to work very well for me, the only problem that I have had, is that when I get people that take over 3 minutes to write a post it refreshes and they have to hit the back button (They can pick up where they left off)....but other than that it pretty much does the same thing. You can change the content="X to however many seconds you want. Just something that I thought was a lot quicker. |
#25
|
|||
|
|||
Added an autoupdate template to forumdisplay and forumhome, works great for me.
What's the function of "$session[sessionhash]" in this line of code <meta http-equiv="Refresh" content="$refreshtime; URL=index.php?s=$session[sessionhash]"> THX |
#26
|
||||
|
||||
Where do I place script in this template, it does not look like ther rest. Here is the coppa file.
<p>To print out a new permissions form, please click the button below:</p> <form action="member.php" method="post"> <input type="hidden" name="s" value="$session[sessionhash]"> <input type="hidden" name="action" value="coppaform"> <input type="hidden" name="username" value="$username"> <input type="hidden" name="password" value="$password"> <input type="submit" class="bginput" value="Display permissions form" accesskey="s"> </form> <p>When you make changes to this profile, you Parent/Guardian will be notified by email. If you are over the age of 13, you should not be seeing this message. Please contact the <a href="mailto:$webmasteremail">administrator</a> with your username, and your account will be changed.</p> Here is the code that needs to be included, <TR bgcolor="{firstaltcolor}"> <td><normalfont><b>Automatic refresh</b></normalfont><br><smallfont>Automatic refresh of the main forum page in minutes. If you don't want this feature, select off.</smallfont></TD> <TD valign=top><select name="autorefresh"> <option value="-1" $autorefreshdefaultselected>Off</option> <option value="60" $autorefresh60selected>1 minute</option> <option value="120" $autorefresh120selected>2 minutes</option> <option value="180" $autorefresh180selected>3 minutes</option> <option value="240" $autorefresh240selected>4 minutes</option> <option value="300" $autorefresh300selected>5 minutes</option> <option value="600" $autorefresh600selected>10 minutes</option> </select> </TD> </tr> |
#27
|
||||
|
||||
I have everything done except the modifycoppa template, I have uploaded and ran the file update.php and deleted it. It shows up now under users options, I select say 5 minutes and when I hit submit I get this error.
There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists. We apologise for any inconvenience. I went and looked at my database the autorefresh field is in the user table. Setup like this. Field-autorefresh type-smallint length/set- 6 not null default -1 I can change the default in my database and go back to the forum and it works but when I change it inside the vb option page I get the error. any suggestions are help would be appreciated. Joey Report this |
#28
|
||||
|
||||
Ok got it working. I still need some help with modification of the modifycoppa template though if someone could help?
Joey |
#29
|
|||
|
|||
I'm forced to say I have to leave this community for some time due to my new job and some projects I work for (and of course my personal life). This all means I won't be able to rewrite my hacks as promised so if anyone is interested in the rewrite, just go ahead. You'll find links to my old hacks in my signature.
I apologize for any inconveniences. |
#30
|
|||
|
|||
this don't need a hack ,just a template edit.
in header template: add this code: <meta http-equiv="refresh" content="100"> content="100" is the time in second that you can set for refresh. |
#31
|
||||
|
||||
Yes you could do that but this hack gives the member the option of setting there own refresh time not the board owner. I like that better, no one can get pissed off at you that way.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|