Home | Support Forums | Your Account | Gallery [2] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Bug: g2image insert block does not work in signatures

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Issues » Olympus (phpBB3) / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
Shados

Beginner
Beginner


Joined: Dec 23, 2007
Posts: 7

PostPosted: Wed Dec 26, 2007 9:52 am    Post subject: Bug: g2image insert block does not work in signatures Reply with quote

Title basically says it all. If you click insert from the g2Img block, it doesn't insert the code. Of course, I can start a post, insert the image I want into that post and then CnP that into my signature, but that's a fairly clunky work-around.
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Bug: g2image insert block does not work in signatures  

Back to top
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 922

PostPosted: Wed Dec 26, 2007 11:09 am    Post subject: Re: Bug: g2image insert block does not work in signatures Reply with quote

Actually, I wasn't even aware that the same posting options are available for creating sigs. Embarassed I suspect the problem is that the form name is different for sigs and posting messages and that is why it doesn't work.

I'll check into it...thanks for the report!
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 922

PostPosted: Wed Dec 26, 2007 12:21 pm    Post subject: Re: Bug: g2image insert block does not work in signatures Reply with quote

Here is the fix for this issue:

In styles/prosilver/template/posting_buttons.html, replace this existing mod:
Code: ›       <input type="button" class="button2" name="g2image" value="g2Img" onclick="g2ic_open('postform', 'message');" title="{L_BBCODE_G_HELP}" />


With this one:
Code: ›       <input type="button" class="button2" name="g2image" value="g2Img" onclick="g2ic_open('postform', '<!-- IF S_POST_ACTION -->message<!-- ELSEIF S_UCP_ACTION -->signature<!-- ENDIF -->');" title="{L_BBCODE_G_HELP}" />


In styles/subsilver2/template/posting_buttons.html, replace this existing mod:
Code: ›       <input type="button" class="btnbbcode" name="g2image" value="g2Img" onclick="g2ic_open('postform', 'message');" title="{L_BBCODE_G_HELP}" />


With this one:
Code: ›       <input type="button" class="btnbbcode" name="g2image" value="g2Img" onclick="g2ic_open('postform', '<!-- IF S_POST_ACTION -->message<!-- ELSEIF S_UCP_ACTION -->signature<!-- ENDIF -->');" title="{L_BBCODE_G_HELP}" />
Back to top
Offline View user's profile Send private message
Shados

Beginner
Beginner


Joined: Dec 23, 2007
Posts: 7

PostPosted: Thu Dec 27, 2007 3:12 am    Post subject: Re: Bug: g2image insert block does not work in signatures Reply with quote

Works now, and you have a very nice response time ^^.
Back to top
Offline View user's profile Send private message
baiwei01

Beginner
Beginner


Joined: Apr 21, 2008
Posts: 2

PostPosted: Wed Apr 23, 2008 6:13 am    Post subject: Re: Bug: g2image insert block does not work in signatures Reply with quote

I've installed Gallery2 phpBB3 Integration Pack 1.0.1a. I can't get g2image insert block work in signatures either. And I tried to modify the code as directed, but there's no effect.

Can someone help me out?
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 922

PostPosted: Wed Apr 23, 2008 9:08 am    Post subject: Re: Bug: g2image insert block does not work in signatures Reply with quote

Works fine for me...

You should not have had to make those changes to 1.0.1a because this is an old thread from an older version and these changes are already in the new version.

Maybe you have permissions set wrong in the phpbb acp?

Are there any error messages? What doesn't work about it? Does g2image work in posting messages?
Back to top
Offline View user's profile Send private message
baiwei01

Beginner
Beginner


Joined: Apr 21, 2008
Posts: 2

PostPosted: Fri Apr 25, 2008 8:17 pm    Post subject: Re: Bug: g2image insert block does not work in signatures Reply with quote

I used firefox 2.0.0.14. When I clicked insert button, the pop-up window just didn't close as you usually use this function.

g2image seems work fine well in the forum.
Back to top
Offline View user's profile Send private message
jettyrat

Moderator
Moderator


Joined: Nov 28, 2005
Posts: 922

PostPosted: Sun Apr 27, 2008 9:32 pm    Post subject: Re: Bug: g2image insert block does not work in signatures Reply with quote

Does it insert the bbcode in the signature and just not close the window? It seems to work fine for me.
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Issues » Olympus (phpBB3) / Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDomain NamesDedicated ServersDedicated Web HostingDomain Name RegistrationWeb hosting AustraliaSEO Web DesignWeb Design New YorkSearch Engine OptimizationSearch Engine Optimisation

6th year online! 2003-2008
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia