[Add-on] Display posts anywhere 1.2.0 RC5

Stand-alone scripts designed for a specific function, but not neccessarily part of normal forum browsing.
Forum rules
Image Please feel free to download any Scripts here, support for each Script is located it's own thread.

To post your own Script, please first read the MOD / Script Guidelines

Re: [Add-on] Display posts anywhere 0.3.1

Postby Handyman » 01 Apr 2007, 23:35

hmm? I didn't think anybody would be using it on the index page.
Thanks for the update, I know a fix for it, so when I get some time, I'll update it.

Stay tuned to this topic for updates Smile
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7456
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Re: [Add-on] Display posts anywhere 0.3.1

Postby Handyman » 01 Apr 2007, 23:36

Kjel, since you found the correct code already, I'll just post a quicky.
BTW, you were on the right track with substr.
Code: Select all
'POST_SUBJECT'    => $postrow['post_text'],

change to
Code: Select all
'POST_SUBJECT'    => substr($postrow['post_text'], 020),

that should do it.
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7456
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: [Add-on] Display posts anywhere 0.3.1

Postby Kjell » 02 Apr 2007, 11:29

Thanks Handyman, the code functions good now Thumbsup
Kjelle
My work - My farm - Ware I live - phpBB support Sweden
"The globe is round, think global", My rules: Be teased is okay on a funny way ;)
User avatar
Kjell    
Supporter
Supporter
 
Posts: 490
Joined: 14 Feb 2007, 13:09
Location: Nordic of Sweden
Favorite Team: NHL N-ville,Forsberg
Gender: Male
phpBB Knowledge: 8

Re: [Add-on] Display posts anywhere 0.3.1

Postby Aratgel » 08 Apr 2007, 10:58

I'd like to know if it is possible that the plug-in show only once the treads names that people recently posted into, insted of every reply in the same thread multiple times
Aratgel    
Translator
Translator
 
Posts: 31
Joined: 14 Jan 2007, 19:43
Location: Montréal Québec
Favorite Team: Canadiens
Gender: Male

Re: [Add-on] Display posts anywhere 0.3.1

Postby Handyman » 08 Apr 2007, 11:46

Aratgel wrote:I'd like to know if it is possible that the plug-in show only once the treads names that people recently posted into, insted of every reply in the same thread multiple times

It's not possible right now? it will be in the next version Smile
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7456
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: [Add-on] Display posts anywhere 0.3.1

Postby Aratgel » 06 May 2007, 19:11

hi!
I have a small question my forum is french writer forum and we use specials chars like é,è,ê,ë,ô,î,ç and à a lot for exemple the sentence:"Premier Scénario, bientôt!" are displayed as "Premier Scénario, bientôt!" can i just add a part of code whit a loop and substrings for remplace 'é' for 'é' and 'ô' for ô ???
Aratgel    
Translator
Translator
 
Posts: 31
Joined: 14 Jan 2007, 19:43
Location: Montréal Québec
Favorite Team: Canadiens
Gender: Male

Re: [Add-on] Display posts anywhere 0.3.1

Postby Handyman » 06 May 2007, 20:28

How is that related to the display posts anywhere mod?
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7456
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: [Add-on] Display posts anywhere 0.3.1

Postby frandom » 23 May 2007, 03:38

Found a bug, you should be using sql_query_limit() rather than putting the limit in $sql, as LIMIT doesn't exist in all dbs such as MSSQL which I was trying to use when I discovered this. Thanks for the useful addon!
frandom
Crewman
Crewman
 
Posts: 1
Joined: 06 Jun 2006, 15:46
Gender: Male

Re: [Add-on] Display posts anywhere 0.3.1

Postby Handyman » 23 May 2007, 10:48

alright, thanks for the info? I wonder why they allow that :glare:
should probably be reported as a bug.
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7456
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: [Add-on] Display posts anywhere 0.3.1

Postby leon » 27 May 2007, 19:02

Im the only one who can't download it ?

You are not authorised to view, download or link from/to this site.
Leon
leon
Crewman
Crewman
 
Posts: 6
Joined: 26 May 2007, 10:32
Gender: Male

PreviousNext

Return to Scripts

Who is online

Users browsing this forum: No registered users and 1 guest