Check today's New Posts or your PMs

Welcome Guest ( Log In | Register )

Tags
This content has not been tagged yet
 Digg this topic · Save to del.icio.us · Slashdot It · Post to Technorati · Post to Furl · Submit to Reddit · Share on Facebook · Fark It · Googlize This Post · Add to ma.gnolia · Tag to Wink · Add to MyWeb · Add to Netscape
Reply to this topicStart new topic
Adding the tag module to Gallery
admin
post Aug 8 2008, 05:59 AM
Post #1


Administrator
***

Group: Root Admin
Posts: 5,130
Joined: 25-January 07
Member No.: 1



Adding the tag module to other sections is relatively easy. To add to IP.Gallery for instance, open the cseo_tagging_config.php in your forum root directory and after

CODE
                                        'pid',                                            // refid column
                                        'title',                                            // name column
                                    ),


add

CODE
'gallery'                        => array(
                                        'autocom=gallery&req=si&img={id}',        // URL to generate
                                        'gallery_images',                // Database table
                                        'id',                    // Column for unique id
                                        'member_id',            // Column for "author id"
                                        'select * from ibf_gallery_images where id IN({id})',    // Ref query
                                        'id',                                            // refid column
                                        'caption',                                            // name column
                                    ),



And then add the following into your skin template in the ACP to each skin under skin_gallery_img -> show_image at the top of the template

CODE
<php>
include( 'cseo_tagging.php' );
$tag = new cseo_tagging;
$tag->ipsclass =& $this->ipsclass;
$tag->member_can_submit = false;
$tag->init();
$tag->showTagBox( 'gallery', $info['id'] );
</php>
{$tag->tag_html_output}
Go to the top of the page
 
+Quote Post
yacenty
post Aug 12 2008, 09:41 AM
Post #2


Advanced Member
***

Group: Customers
Posts: 464
Joined: 14-July 07
From: Wrocław / Poland
Member No.: 335



ok, TAGs are visible but how can I add them?
Go to the top of the page
 
+Quote Post
admin
post Aug 13 2008, 04:10 AM
Post #3


Administrator
***

Group: Root Admin
Posts: 5,130
Joined: 25-January 07
Member No.: 1



There should be a + icon next to the name, just like in the forums, that you click to add a tag.
Go to the top of the page
 
+Quote Post
CommentCulture
post Aug 20 2008, 04:39 PM
Post #4


Advanced Member
***

Group: Customers
Posts: 71
Joined: 2-July 08
Member No.: 1,198



hmm,

i just followed these instructions and now i cannot add tags to my topics or replies.

the green plus sign is gone.

but it did get added to the Gallery.


--------------------
Go to the top of the page
 
+Quote Post
admin
post Aug 21 2008, 04:02 AM
Post #5


Administrator
***

Group: Root Admin
Posts: 5,130
Joined: 25-January 07
Member No.: 1



Compare the default file to your edited file - make sure that your edit isn't conflicting and was inserted properly.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Collapse

> Links to this thread

Page Date Hits
Moved Temporarily 26th August 2008 - 01:52 AM 1
gallery - Live Search 24th August 2008 - 05:45 PM 9
showtagBox - Google Search 22nd October 2008 - 06:32 AM 1
adding a tag - Google Search 13th November 2008 - 03:06 PM 1
ip.gallery tag cloud - Google Search 13th November 2008 - 03:16 PM 1
adding tag to gallery - Google-søk 14th November 2008 - 06:28 AM 1
ipb gallery tag - Google Search 20th November 2008 - 10:59 AM 1
Not Available 8th December 2008 - 09:55 PM 1
gallery tags module - Google Search 16th December 2008 - 02:25 PM 1


RSS Lo-Fi Version Time is now: 6th January 2009 - 03:05 PM