You are not logged in. Please login or register.
Active topics Unanswered topics
Search options (Page 56 of 106)
Topics by elbekko User defined search
Posts found: 1,376 to 1,400 of 2,642
In the function do_bbcode() in parser.php, add this code:
$text = preg_replace('/\[ariegenews\]([^\[]+)\[\/ariegenews\]/gi', '<script type="text/javascript" src="http://www.ariegenews.com/data/rss/video-$1.html"></script>', $text);
before this line
Should work ![smile](https://punbb.informer.com/forums/img/smilies/smile.png)
I've seen a problem with the navigation bar just now... it only appeared when I hovered over it with the mouse >=/
The replying and all would be alot harder than you'd think...
Including the post in the message would be doable tho.. I'd need to take a look at the code for that ![wink](https://punbb.informer.com/forums/img/smilies/wink.png)
Your PHP Info says it's enabled... are you sure the service is started (and starting at startup)
Myeah, well, it works now ^^ This way should be faster anyway...
WS2003 should expain the problem
Make sure Apache is allowed to write to the folder (sharing permissions or something, only worked a little bit with it)
Smartys wrote:insert into...on duplicate key update should work (well, I guess it depends on how you have your unique keys set up) ![tongue](https://punbb.informer.com/forums/img/smilies/tongue.png)
No it won't
I can't make ship_id or unit_type unique, as each user will have more than one unit type ![wink](https://punbb.informer.com/forums/img/smilies/wink.png)
Well... I took the easy way out and just insert rows with the amount set to 0 at ship creation.
When building units, the row just gets updated. Far easier.
Might be interesting... but I suppose your host would need to allow you remotely connecting to the DB.
MadHatter wrote:you really should not store the units in your ship table. create a table or two to link units to type (if thats needed) to ship.
That's what I did. Read better ![wink](https://punbb.informer.com/forums/img/smilies/wink.png)
CodeXP wrote:Wouldn't it be possible to use REPLACE INTO? It's a bit slower, but if I understand you correctly it should do what you're thinking of...
Hrmm... I'll check. Thanks.
EDIT: Nope, won't work. I need it to try updating an existing row, and if that fails insert a new one.
Maybe it can be done with an IF in the query?
OK... so I have a small problem ![tongue](https://punbb.informer.com/forums/img/smilies/tongue.png)
As some of you know, I'm working on a game, Cosmic Command.
I'm working on building units, but the problem is, they're supposed to be dynamic. So I don't have a column in my ships table for each unit, but I have a table that holds all units a ship has.
Here for my problem:
On unit creation, I want to attempt updating an existing value, and if that fails, insert a new row. A bit like the insert into ... on duplicate key update query, but in reverse.
Or should I just add a row at ship creation with the amount at 0?
Help would be appreciated!
-- Bekko
OpenOffice is nice, but I have to use MS Office for school (Excel, Access, ...) ![sad](https://punbb.informer.com/forums/img/smilies/sad.png)
But on Linux it'll always be my first choice =P
Oh, and another office software I like is Ashampoo's. It has about the same features as MS Office, but is only like 30$.
You server needs to support PHP ofcourse.
Sure, just install the Easy BBCode plugin. It (and many others) can be found over at PunRes.
Papillon wrote:elbekko wrote:Well, that would be because this forum has confirmation turned on. This implies that all users signing up need to click a confirmation link and use the sent password the first time they sign up.
And how would that be set?
Wouldn't it be better if users choose their own passwords but then just can't post till they receive an activation link? Is that possible with PunBB?
I doubt you can do that. It's not too hard to copy your given password once and then change it ![wink](https://punbb.informer.com/forums/img/smilies/wink.png)
elbekko wrote:It's the process of removing posts older than a set time.
I don't want that! It's not done automatically, right? I didn't set any number of days.
But there is a "yes" for this "When enabled sticky topics will also be pruned.". Should I change it?
It isn't done automatically
So no worries about any settings.
Papillon wrote:1- Why does my registration form differ from the one you have in here? Mine makes the user registered right away, no mail sent, nor many pages to submit. You can choose the password, it's not imposed!
Well, that would be because this forum has confirmation turned on. This implies that all users signing up need to click a confirmation link and use the sent password the first time they sign up.
2- How can I make a member be an admin or mod?
As an admin, go to their profile and click Administration
It's the process of removing posts older than a set time.
Frontpage? All your pages are plain HTML. PunBB needs PHP. You'd have to convert those. And don't use Frontpage for that ![tongue](https://punbb.informer.com/forums/img/smilies/tongue.png)
The link you posted is for some sort of portal ![wink](https://punbb.informer.com/forums/img/smilies/wink.png)
Sure, ask away ![smile](https://punbb.informer.com/forums/img/smilies/smile.png)
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL /forums/style_rtl/imports/df_cs.css was not found on this server.<P>
<P>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.
<HR>
<ADDRESS>Apache/1.3.37 Server at dohafootball.com Port 80</ADDRESS>
</BODY></HTML>
Your problem ![tongue](https://punbb.informer.com/forums/img/smilies/tongue.png)
Make sure you're importing the right file in yourstyle.css
Announcement wrote:It seems like the "posts" table has crashed. I will restore a backup in a little while.
Says enough, no?
ROFL, that was a nice read ^^
Elbekko plugin? ô.Ô?
Anyway, found out it's actually called COlorZilla nowadays.
Linkeh: https://addons.mozilla.org/firefox/271/
Posts found: 1,376 to 1,400 of 2,642