Excellent! I am pleased that you found a solution!
26 2010-09-10 13:23
Re: Spreadsheet to MySQL - correct syntax for URLs? (11 replies, posted in Programming)
27 2010-09-10 13:15
Re: Spreadsheet to MySQL - correct syntax for URLs? (11 replies, posted in Programming)
I do not have openoffice on this PC but if you do not get any joy then let me know as I do have it on my home PC that I will be on tomorrow!
28 2010-09-10 12:59
Re: Spreadsheet to MySQL - correct syntax for URLs? (11 replies, posted in Programming)
I think if you are in Excel you can change to a custom field specifying exactly what I put above and it will convert all your dates to this format(I think)
29 2010-09-10 12:57
Re: Spreadsheet to MySQL - correct syntax for URLs? (11 replies, posted in Programming)
yes it doesn't matter that it doesn't know it is a date though it does need to be in the datetime format which is
YYYY-MM-DD HH:MM:SS
So you need to really format your spreadsheet to accommodate the date looking exactly like that, or if you have to have your date as per your past examples you will have to store them as a string which will need the '' or "" around it!
Hope this helps!
30 2010-09-10 12:15
Re: Spreadsheet to MySQL - correct syntax for URLs? (11 replies, posted in Programming)
yes then you may find you need to include the time as well
so
2010-08-19 00:00:00
Though I am not sure if you could get away with just the date part
31 2010-09-10 12:13
Re: Adding IP To Welcome email template (and so admin sees it) (8 replies, posted in PunBB 1.3 discussion)
I think you would need
$mail_message = str_replace('<user_ip>', $user_info['registration_ip'], $mail_message);
This will look for <user_ip> in the mail template and will replace with the IP address.
Is this what you wanted?
32 2010-09-10 11:14
Re: Spreadsheet to MySQL - correct syntax for URLs? (11 replies, posted in Programming)
If you have selected date as the format for your table then it needs to be in this format
2010-08-19
you other issue is because strings need to be enclosed by ""
Hope this helps!
33 2010-09-03 16:17
Re: [extension release] MP3 (35 replies, posted in PunBB 1.3 extensions)
ah excellent - thanks!
34 2010-09-03 16:10
Re: [extension release] MP3 (35 replies, posted in PunBB 1.3 extensions)
How do you get the code in those nice colours?
35 2010-09-03 16:04
Re: [extension release] MP3 (35 replies, posted in PunBB 1.3 extensions)
I managed to combine the two mods to get this working. Please test at your own risk
36 2010-09-02 15:01
Re: [extension release] MP3 (35 replies, posted in PunBB 1.3 extensions)
I'm going to guess that it is almost certainly this section though I have not tested it yet. Will do so shorty and report back
<hook id="ps_start"><![CDATA[
// tag handling function
function handle_video_tag($videoUri) {
global $forum_config;
$match = array();
// dirty trick to play arround do_clickable
preg_match('`href="([^"]+)"`', stripslashes($videoUri), $match);
if(!empty($match[1])) {
$videoUri = $match[1];
}
}
]]></hook>
and
<hook id="ps_do_bbcode_replace"><![CDATA[
// add pattern to catch [video]blahblah[/video]
$pattern[] = '`\[video\]([^\[]+)\[/video\]`e';
$replace[] = 'handle_video_tag(\'$1\')';
]]></hook>
37 2010-09-02 12:37
Re: [Release] jQuery Chat (41 replies, posted in PunBB 1.3 extensions)
Ok, I have managed to accomplish a few things.
Firstly, the confusing first line that looks to be in Russian can be changed in data/chat.dat to something more fitting.
There is then an option within each user profile to expand or retract the chat box for those who do not want it taking up the whole of the top of their forum.
I managed to move mine to the bottom of the forum nicely. To do this I uninstalled the extension and edited this (around line 136) on manifest.xml
<hook id="in_main_output_start">
to
<hook id="in_info_output_start">
Hope this helps someone
38 2010-09-01 17:16
Re: [Release] jQuery Chat (41 replies, posted in PunBB 1.3 extensions)
Ah perhaps that is what threw me in the first instance! I did change the language file with success but I do not like how much of the top of my forum it takes up..
I will try to understand the code more and maybe I can move it to the bottom of the forum!
Thanks for your prompt reply - I see you are very active with Punbb which is great to see!
39 2010-09-01 16:36
Re: [Release] jQuery Chat (41 replies, posted in PunBB 1.3 extensions)
Hi there
This does work for me though I would like to know two things:
1. - How to change from Russian to English?
2. - I would prefer the chat to be at the bottom of the forum and not the top - is this possible?
Thanks a lot for a great extension
40 2010-08-26 14:46
Re: Track topics in database (version 1.0.1) (8 replies, posted in PunBB 1.3 extensions)
Thanks! That is reassuring!
I look forward to hearing about your extensions! I'm already very intrigued!
All the best!
Olly
41 2010-08-26 09:41
Re: Track topics in database (version 1.0.1) (8 replies, posted in PunBB 1.3 extensions)
Hi bedroom
Thanks a lot for the quick reply.
I have done this and I get no warnings although I personally do not get any new posts so I am unsure if it working or not at the moment.
Have you done any other extensions at all? If so, do you have a list? It is nice to see someone still active around here!
42 2010-08-26 08:40
Re: Track topics in database (version 1.0.1) (8 replies, posted in PunBB 1.3 extensions)
Hi there
I have been looking for something like this however on installing I get this error - can you help?
Warning: Missing argument 4 for DBLayer::add_field(), called in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/admin/extensions.php(176) : eval()'d code on line 3 and defined in /var/www/vhosts/ollysguitar.com/subdomains/forums/httpdocs/include/dblayer/mysqli.php on line 364
43 2010-04-28 09:07
Re: [Release] Sitemap Generator (76 replies, posted in PunBB 1.3 extensions)
Actually I got it resolved by creating a file called sitemap.xml and changing the permissions to 777 then it now works.
44 2010-04-28 07:43
Re: pun_approval (85 replies, posted in Supported extensions)
Hi there
I seem have an issue with the latest version.
Firstly it would seem that when I approve posts for some reason the post count stays at zero?
Also I am trying to approve a post and I get this:
The error occurred on line 1506 in /var/www/vhosts/domain.com/subdomains/forums/httpdocs/extensions/pun_approval/functions.php
Database reported: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 (Errno: 1064).
Any ideas?
Thanks a lot
45 2010-04-16 16:57
Re: [Release] Sitemap Generator (76 replies, posted in PunBB 1.3 extensions)
Hi there
Does this work with the latest version? I have isntalled today and hoped to find something like this extension however when I install I get
"Could not create sitemap.xml on forum root."
Any ideas would be gratefully received.
Cheers
Olly