Search found 55 matches

by BBRAIN
Sat Aug 07, 2010 1:32 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Quick code formatting question
Replies: 19
Views: 360

Re: Quick code formatting question

Many Thanks m8 will try it :)

Like a charm Many Many Thanks :D
by BBRAIN
Sat Aug 07, 2010 12:55 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Quick code formatting question
Replies: 19
Views: 360

Re: Quick code formatting question

just call it test as the php m8 ;)
by BBRAIN
Sat Aug 07, 2010 12:49 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Quick code formatting question
Replies: 19
Views: 360

Re: Quick code formatting question

Many thanks you are a gem :)
by BBRAIN
Sat Aug 07, 2010 12:46 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Quick code formatting question
Replies: 19
Views: 360

Re: Quick code formatting question

Should html page be

Code: Select all

						<!-- BEGIN list -->	
            		{data_list.STRINGONE}
            <!-- END list -->
?
by BBRAIN
Sat Aug 07, 2010 12:43 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Quick code formatting question
Replies: 19
Views: 360

Re: Quick code formatting question

No m8, entire php page <?php define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); include($phpbb_root_path . 'includes/bbcode.' . $phpEx); include($phpbb_root_pa...
by BBRAIN
Sat Aug 07, 2010 12:22 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Quick code formatting question
Replies: 19
Views: 360

Re: Quick code formatting question

Thanks for your help m8.. getting Parse error: syntax error, unexpected $end for the html page :( <!-- BEGIN data_row --> {data_row.STRINGONE} <!-- EnD data_row --> EDIT.. see the issue. Should be <!-- BEGIN data_list --> {data_list.STRINGONE} <!-- END data_list --> Get no output though :)
by BBRAIN
Sat Aug 07, 2010 12:14 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Quick code formatting question
Replies: 19
Views: 360

Re: Quick code formatting question

Many Thanks Sicle,

and the html?

as I get nothing displayed.. :D

Suspect it maybe due to bbcode
by BBRAIN
Sat Aug 07, 2010 12:05 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Quick code formatting question
Replies: 19
Views: 360

Re: Quick code formatting question

many thanks but the variables should be like this $rawdata = $row['post_text']. " - ". $row['post_id']; $dataChunks = explode("[/img", $rawdata); $string_one = "$dataChunks[0][/img]<br />"; $stringtwo = $row['post_text']. " - ". $row['post_id']; but don't know how to format it. trying to explode a p...
by BBRAIN
Sat Aug 07, 2010 11:51 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Quick code formatting question
Replies: 19
Views: 360

Re: Quick code formatting question

Thanks buddy will try that ;)

EDIT..

Not sure this line is correct

Code: Select all

'STRINGONE'        =>    "$dataChunks[0][/img]<br />",
by BBRAIN
Sat Aug 07, 2010 9:20 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Quick code formatting question
Replies: 19
Views: 360

Quick code formatting question

Could someone help with the phpbb way to format this code please? //$query = "SELECT * FROM phpbb_posts"; //$result = mysql_query($query) or die(mysql_error()); while($row = mysql_fetch_array($result)){ $rawdata = $row['post_text']. " - ". $row['post_id']; $dataChunks = explode("[/img", $rawdata); $...
by BBRAIN
Wed Jul 21, 2010 12:39 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: What is the text added to images in the database
Replies: 0
Views: 98

What is the text added to images in the database

When looking at data in the database anything within the IMG tags has added characters

Code: Select all

[img:hjukrhfv]http&#58;//www&#46;whitbylibrary&#46;on&#46;ca/images/ddblock/golf(1)&#46;jpg[/img:hjukrhfv]
this part

Code: Select all

hjukrhfv
and these

Code: Select all

&#58  &#46 
What is it please, is it done by bbcode?
by BBRAIN
Fri Jul 09, 2010 8:22 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Extracting data from posts
Replies: 11
Views: 528

Re: Extracting data from posts

Can anyone help with the code please?

Thanks for the help m8 ;)
by BBRAIN
Thu Jul 08, 2010 1:40 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Extracting data from posts
Replies: 11
Views: 528

Re: Extracting data from posts

Thanks m8 but I know it's just a case of searching the post for the url tag and splitting that from the rest of the post, possibly assign a variable to both and display results, I just am struggling to find any tutorials to produce the code. Am using a recent posts mod to get the data...
by BBRAIN
Thu Jul 08, 2010 9:20 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Extracting data from posts
Replies: 11
Views: 528

Re: Extracting data from posts

Many thanks Niks. Will have a look into it. I don't want to change the way people post messages and make it harder. Any chance I can Have a look at your site? ;)
by BBRAIN
Wed Jul 07, 2010 8:44 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Extracting data from posts
Replies: 11
Views: 528

Re: Extracting data from posts

bumb

Go to advanced search