View Single Post
  #1216  
Old 07-25-2006, 01:14 AM
MRs2 MRs2 is offline
 
Join Date: Mar 2006
Location: Amsterdam The Netherlands
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to install it, but I think I'm missing something.
The zip just gives me a few buttons (gif's instead of jpg), the xml and one page of installation guide.

The installation guide doesn't say anything about creating a template, nor the necessary name, nor any code to put in there.

Some posts further I see that the template is supposed to be called threadbit_gallery instead of template_gallery, so now I have two clue's that are never mentioned before:

1 I need to create a template
2 it's name is to be threadbit_gallery

That second post also tells me to create a new phrase in "Forum_related". I'm not exactly sure what you mean by forum_related. Perhaps I will know what you mean if you say that in German, then I can find it in my English version.


I have 3.5.4, and just like Grendel had before: all I have is an extra forum.
I can't even switch it off, because the switch doesn't work.
My database is correct though: fields gallery and gallery_cat are there, and properly showing the 1's and 0's at the right records.

I hope you can help me!



Quote:
Originally Posted by Harald_T
@Grendel:

Let's see, if we can fix your problem.

First of all, did you create the needed templates?

You do this:

ACP->Styles&Templates->Styles-Manager->Selecting from the Style-Options-Men?: Add a new template.

Give it the neccessary name and in the big field fill in the code for the template.

For setting the category up:

Set the Display-Order to '0', so that it isn't visible (but still accessable) and 'Act as Forum' to 'No', as you already thought.

Before the save-button for the forum-options you should have a new YES/NO-Option named 'Gallery'. This is the gallery-option. Set this to yes.

This should be all.

The effect you got sounds like, that you didn't set the Gallery-Option to yes. Did you also don't forget to run the needed query? Check your database, if there is a field called 'gallery' in your forum-table.

To be sure i will check the code for vB 3.5.0 Beta4 tonight.


Quote:
Originally Posted by Harald_T
O.k., i've attached the new version of the hack.

Also, i've found an type-error in the original-text:

The new template to create isn't of course called "template_gallery" but "threadbit_gallery". Sorry for the typo.

And second: You have to add a new phrase.

Place it in forum-related and call it Gallery.

The text for the phrase could be: "Use as gallery?"
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01150 seconds
  • Memory Usage 1,766KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete