[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 Sniper_E » 12 Mar 2007, 00:16

Handyman wrote:including the online offline images.

Speaking of Image and Image images, I found a couple of cool ones today.

And a Image and Image image for the founders/administrators.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6981
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6


Re: [Add-on] Display posts anywhere 0.3.1

Postby FCStorm » 12 Mar 2007, 08:27

Handyman wrote:the attachments don't show up yet? that's a planned feature? for version 0.4.0.
0.4.0 should be identical to the viewtopic look? including the online offline images.

I was going to do that with 0.3.0, but I ran out of available time? weekends much too short.


Cool! Looking forward to it!
User avatar
FCStorm
Supporter
Supporter
 
Posts: 4
Joined: 24 Jul 2006, 19:52
Gender: Male

Re: [Add-on] Display posts anywhere 0.3.1

Postby Handyman » 12 Mar 2007, 09:48

Good sniper? I love em Good Laughing
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: 7454
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 Sniper_E » 12 Mar 2007, 11:12

Yea, those are pretty cool, I have them on my site right now in Sniper_Blue.
The Image image had wide eyes opened like the Image image.
I had to edited it and closed his eyes, but I found it looked better with his eyes squinted/almost closed.
I feel I need to edit the founder's Image image also and have his eyes almost closed. If he's offline he don't need to be looking around.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 6981
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: [Add-on] Display posts anywhere 0.3.1

Postby Handyman » 12 Mar 2007, 11:16

are you kidding me? Glare when I'm offline, I still see everything.
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: 7454
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 cagemonkey » 15 Mar 2007, 22:31

Could this be modified to create an RSS feed for phpBB3?
cagemonkey
Crewman
Crewman
 
Posts: 1
Joined: 06 Feb 2007, 02:44
Gender: Male

Re: [Add-on] Display posts anywhere 0.3.1

Postby Handyman » 16 Mar 2007, 00:18

Hi CageMonkey, Welcome to STG Wave

There is an RSS feed in development? You may want to check it out.
I'm sure this could be modified to work as an RSS feed though.
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: 7454
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 earpit » 17 Mar 2007, 08:44

Can we have a demo?
earpit
Cadet IV
Cadet IV
 
Posts: 53
Joined: 17 Sep 2006, 02:17
Gender: Male

Re: [Add-on] Display posts anywhere 0.3.1

Postby Kjell » 01 Apr 2007, 02:21

I use a part of the code, but how do I in order to get maximumly 20 chars in subject name. Scratch
"Cut off the string after 20 chars".

Code: Select all
// Start last post
get_last_posts(8);
$postrow['post_text']=null;
$postrow['post_text']=null;
$template->assign_vars(array(
    'POST_TEXT'       => $postrow['post_text'],
    'POST_SUBJECT'    => $postrow['post_text'],
));
// End last post

Spoiler:


php codes: substr('abcdef', 0, 20); ???

Image
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 sashankta » 01 Apr 2007, 20:34

i'm having some issues with this, for some reason...

i added the little piece of script to functions.php, worked out fine...

then added the "get_last_posts" function to the index page.... and add "<!-- INCLUDE postrow.html -->" to the index_body.html

which i believe is what i'm supposed to do.... then i still end up getting an error:

"
Fatal error: Cannot redeclare display_forums() (previously declared in /hsphere/local/home/trivedee/arshavignana.com/VBeta/includes/functions_display.php:14) in /hsphere/local/home/trivedee/arshavignana.com/VBeta/includes/functions_display.php on line 14"


[EDIT]

i have found the solution to my problem.... apparently it may be a bug in your code...

in the function that we have to edit, it called function_display... which is also called in index.php or some other files...

so the code gets kinda screwed up because its called twice ... etc etc etc..

you may want to consider this as a fixup for that, or future releases...

*COMMENT OUT INCLUDES FOR FUNCTION_DISPLAY WHERE YOU USE THIS CODE*
User avatar
sashankta
Cadet III
Cadet III
 
Posts: 32
Joined: 28 Mar 2007, 13:28
Gender: Male

PreviousNext

Return to Scripts

Who is online

Users browsing this forum: No registered users and 5 guests