The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
Ok, here it is.
This might not be the best way to do this, but well, it's something. I'm just packed with jobs lately, just can't do them all. And since I do have some previous commitments (yes, even earlier than this one), I must complete them first. Veyr sorry, Ruth. 1. Run this query: Code:
CREATE TABLE tip ( tipid SMALLINT(5) not null AUTO_INCREMENT, title VARCHAR(100) not null, tiptext MEDIUMTEXT not null, PRIMARY KEY (tipid) ) PHP Code:
PHP Code:
Code:
{htmldoctype} <html> <head><title>Tip of the moment!</title> $headinclude </head> <body> $showtip </body> </html> Code:
<normalfont><b>$tip[title]:</b><br><br> $tip[tiptext]</normalfont> PHP Code:
PHP Code:
This will display a random tip on every page load. I understand if you don't want to use this, it's far from perfect. Sorry again. |
#22
|
|||
|
|||
Thanks so much FireFly
it is better than nothing, i'll try it soon... thanks again for your time...you are great |
#23
|
|||
|
|||
Do you have demo or screenshot's?
|
#24
|
|||
|
|||
Although there's no vB admin interface to it, last week I quickly wrote up a bare bones little "verse of the day" script that works with a client's vbPortal.
It reads from a two field flat file and spits out a new one every day. If this little scrap of code would be helpful to anyone, please let me know. It could be used for quotes, tips, well, you know... deb |
#25
|
|||
|
|||
FireFly, i think the modify link in the CP is not working, besides what is the command to show tips in the pages?
|
#26
|
||||
|
||||
Use this code in the pages:
PHP Code:
Looks like I forgot a big part from the tip.php file, I'll find it in a min. |
#27
|
|||
|
|||
Any idea why the modify option won't work?
|
#28
|
||||
|
||||
Yeah, I forgot that whole part from my file, and now it's not in my file anymore!
I guess I'll have to re-write it. Arrgh... |
#29
|
|||
|
|||
Quote:
thanks |
#30
|
|||
|
|||
can anyone finish this hack?
and the ability maybe to make usergroups defined. thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|