vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Gallery for vBulletin 3.5.X (https://vborg.vbsupport.ru/showthread.php?t=92875)

Harald_T 05-23-2006 04:43 PM

@UtahNissans: Your problem is, as far as i can see, that your board doesn't show thumbs in posts. Check it in your vb-options. This should normally solve your problems.

UtahNissans 05-23-2006 06:15 PM

Quote:

Originally Posted by Harald_T
@UtahNissans: Your problem is, as far as i can see, that your board doesn't show thumbs in posts. Check it in your vb-options. This should normally solve your problems.

Are you referring to the PNG Thumbnails option?

DrewM 05-23-2006 06:47 PM

mayby if it is a PNG, then yes, but I think he means the over all attachment setting.

imported_magjr 05-23-2006 09:21 PM

Quote:

Originally Posted by imported_magjr
I have it running on my board now, however it slows my entire server down. most cases, I have to restart apache. Any ideas?


Hellloooooo?

anyone out there? I don't want to uninstall, but I can't have it around if it's seizing up my board

I'm running 3.5.4

UtahNissans 05-24-2006 06:50 AM

I searched around and I already have the attachment setting enabled.

AzianStang 05-24-2006 07:33 AM

Harald, tried installing and followed everything as written, but I can't even seem to get an UPLOAD button. The Gallery navbar link leads directly to a subforum, and to nothing when that is clicked. I've checked everything to make sure thumbnails are enabled in both vb options and in attachment settings.

Could I have maybe messed up the forumdisplay.php rewrite?? I followed your directions to a T.

Help a super noob out! Thanks.

DrewM 05-24-2006 09:13 AM

AzianStang, what does your gallary_forumdisplat templeat have for contents?

Harald_T 05-24-2006 11:59 AM

Quote:

Originally Posted by imported_magjr
Hellloooooo?

anyone out there? I don't want to uninstall, but I can't have it around if it's seizing up my board

I'm running 3.5.4

Can you define "seizing up your board" a bit more? Why it's getting slower? To much memory usage or something else. Without infos i can't suggest it.

Harald_T 05-24-2006 01:57 PM

Just to let you know, what's coming next:

Admin-Option: Featured Post (thanks for Bernd and his suggestions for this): Now you can mark a thread as featured. Add a little thumbnail to the first post and it will be shown at the top of forumhome. (Oh, Bernd, you don't need any longer a special forum for it. Now it jumps right to the selected thread). This can be set on/off by the gallery-options. Also you can define a name for the included thumb, so it will not be shown.

AzianStang 05-24-2006 03:30 PM

Here's my gallery_forumdisplay template:

Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<meta name="description" content="$foruminfo[description]" />
<title>$vboptions[bbtitle] - $foruminfo[title]</title>
$headinclude
</head>
<body>
$header
$navbar

<br />
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="top">
        <td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/upload.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
        <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>

<if condition="$show['threadslist']">
<!-- threads list  -->

<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" class="tborder">
<tr>
                <td class="thead">&nbsp;</td>
        </td>
</tr>

<if condition="$show['threads']">
<tr>
        <td colspan="6">
        <table align="center">
                <tr>
                        $threadbit_gallery       
                        <if condition="$col">
                        <td colspan=$col class="alt1">&nbsp;</td>
                        </if>
                </tr>
        </table>
        </td>
</tr>
<!-- end show threads -->
<else />
        <!-- show no threads message -->
        <tr>
                <td class="alt1" colspan="$foruminfo[bottomcolspan]" align="center">
                        <div style="padding: 16px">
                                <if condition="$show['noposts']"><strong>$vbphrase[no_posts_in_this_forum]</strong><else /><strong><phrase 1="$daysprune">$vbphrase[no_posts_last_x_days_forum]</phrase></strong><br />
                                <span class="smallfont">$vbphrase[try_controls_below_for_older_posts]</span></if>
                        </div>
                </td>
        </tr>
        <!-- end show no threads message -->
</if>
</table>



<!-- controls below thread list -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
        <td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
        <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls below thread list -->


<br />



<!-- ############## END THREADS LIST ##############  -->
</if>


<!-- forum rules & forum jump -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
        <td align="right" width="100%">
                $forumjump
                <if condition="!$show['popups'] AND $show['adminoptions']">
                        <br />
                        <form action="moderator.php" method="get">                       
                        <input type="hidden" name="s" value="$session[sessionhash]" />
                        <input type="hidden" name="f" value="$forumid" />
                        <div class="smallfont"><strong>$vbphrase[admin_tools]</strong>:</div>
                        <select name="do" onchange="this.form.submit();">
                                <optgroup label="$vbphrase[admin_tools]">
                                        <option value="modposts" selected="selected">$vbphrase[view_posts_queue]</option>
                                        <option value="modattach">$vbphrase[view_attachment_queue]</option>
                                        <option value="move">$vbphrase[mass_move]</option>
                                        <option value="prune">$vbphrase[mass_prune]</option>
                                        <if condition="$show['addmoderator']">
                                                <option value="addmoderator">$vbphrase[add_moderator]</option>
                                        </if>
                                </optgroup>
                        </select>$gobutton                       
                        </form>
                </if>
        </td>
</tr>
</table>
<!-- / forum rules & forum jump -->

$footer
</body>
</html>


Harald_T 05-24-2006 03:32 PM

@AzianStang: Could you please contact me via pm?

Harald_T 05-24-2006 05:25 PM

@AzianStang: It's working now. It was only a false setting on the forum "Gallery". It was set to work as a category.

wezoo 05-26-2006 08:42 PM

Hi first let me say great hack

I have a few questions if thats ok ?

if you got to my site www.cgempire.com

you will notice 4 pictures across the top this is not using your hack....

your hack is further down the page,


1. could it be modified so it was more like the top set of images, with no text and no table borders, just pictures?
2. does the images work in the user profile ? I cant see them in mine ?
3. the random image sometimes shows the same image a few times...
4. and while im on is there a simple way of , if you click on the thumbnail in forum ut will take you to the thread rather than open a new image ?


any help would be very much apreciated

thanks for a wonderful hack

wez

Harald_T 05-26-2006 10:36 PM

@Wezoo: Yes it can be modified for your needs. You have to change the gallery-threadbit for this. There you find the needed tables you would have to remove.

I'll check the other points tomorrow. Now i got to go to bed.

DrewM 05-26-2006 11:17 PM

fetured threads does not work on forum home :(.

wezoo 05-27-2006 12:01 AM

Hi Harald

thanks i look forward to it


goodnight ;)

Harald_T 05-27-2006 08:12 AM

@Larrysw: What does not work exactly?

Harald_T 05-27-2006 08:13 AM

@Larrysw: What doesn't work exactly?

DrewM 05-27-2006 09:45 AM

it doesn't show any thing on forum home :(

Harald_T 05-27-2006 10:43 AM

Did you also do the changes on forumhome?

DrewM 05-27-2006 04:24 PM

the templeat? I did that. I have tried a couple of diffrent things I think it has some thing to do with the plugin in 3.5.4

Bernd 05-27-2006 05:02 PM

Quote:

Originally Posted by Harald_T
Just to let you know, what's coming next:

Admin-Option: Featured Post (thanks for Bernd and his suggestions for this): Now you can mark a thread as featured. Add a little thumbnail to the first post and it will be shown at the top of forumhome. (Oh, Bernd, you don't need any longer a special forum for it. Now it jumps right to the selected thread). This can be set on/off by the gallery-options. Also you can define a name for the included thumb, so it will not be shown.

How then did u distinguish between spotlight images and regular images? Did u use a sql statement that selects the featured thumb name? looking forward to seeing this integrated into future versions..it's a hassle to edit everything upon upgrade each time.

imported_magjr 05-27-2006 06:26 PM

Quote:

Originally Posted by Harald_T
Can you define "seizing up your board" a bit more? Why it's getting slower? To much memory usage or something else. Without infos i can't suggest it.

When I say seizing up my board, I mean it slows down. I don't know why it's getting slow, however when it's live on my production form, it times out and if I don't catch it quick enough, I'll have to restart apache on my server. The old version worked fine, do you have that one that I can use?

Let me know if you want me to set up an admin pass to my board so you can get in there and look around. Or let me know a time you'll be on and I can turn it on and send you a link so you can see it.

Harald_T 05-27-2006 09:28 PM

@Bernd: Yes, this is what i did. I made one query for the normal latest gallery-pictures, which filters out those pictures from the threads marked as featured (so the header-thumbnails are not shown). And another query only gets the header-thumbnails from the gallery.

This is already included now in the latest version.

@imported magjr: Would you be so kind and send me the details via PM. I'll check.

wezoo 05-28-2006 08:56 AM

it seems i am doing this all wrong !!!

would somone please post the process of uploading a picture into the gallery

i did it using the standard upload image then io used the [attatch]
which i have been told is the wrong way ?

so, at the risk of sounding stupid, would somone please tell me how to upload a picture and display it withou the [attatch] ?

also how do you mark something as featured ?

many thanks

wez

Harald_T 05-28-2006 10:17 AM

@wezoo: I'll upload a picture into the gallery. Normaly you just have to upload a picture, as normal. But you don't need to use [Attach], because this places the picture in the textfield beneath.

You mark a thread as featured with the thread-tools (the popup-menu above the thread).

Harald_T 05-28-2006 10:20 AM

Marking a thread as featured: Use the thread-tools above the thread.

Weezo, could it be, that you don't use thumbnails in posts? Check you vbulletin-options, if thumbnails a) will be used and b) will be made.

wezoo 05-28-2006 11:10 AM

Hi Harald

yeah i belive that thumbnails are enabled !!!

still no luck :(

Harald_T 05-28-2006 02:25 PM

@wezoo:

I'm registered under the name "Zheobitt". Would you be so kind and grant me temporarily access to the AdminCp?

wezoo 05-28-2006 02:58 PM

there you go harald !!!
will you look into the featured thread too harald ? , it says could not find phrase ?
or is that because the pictures are not showing ?

and how do you unfeature a thread ? :)
many thanks again

wez

wezoo 05-28-2006 05:43 PM

seems sort of working
if i make an item featured i get

could not find phrase ".

also featured item is realy big in the middle of my page
i also get no pictures in user profile ?

im sure this is something i have done :)

but what im realy after is this
https://vborg.vbsupport.ru/attachmen...9&d=1147632863

anyway help as usual , is greatly apreciated :)

thanks

wez

Harald_T 05-28-2006 06:25 PM

@Wezoo: You're right. The picture for the member-profile are missing. That was a mistake by mine. I have to replace the XML-File. I'll update it tonight.

Also the "unfeature"-button have to be done. Maybe i can do it together.

Oh, send you a PM.

wezoo 05-28-2006 06:39 PM

thanks harald, ive sent you a PM

whenits done should it look like the pictures on your page ? thats realy nice..?
its just that my featured images are rather large on the from page

should i include a thumbnail or should this be done automaticaly ?

thanks

wez

Harald_T 05-28-2006 07:30 PM

ATM it isn't created automaticly. You have to include a thumbnail (for example header.jpg) in the first post. The routine always shows the last thumb of the first post.

Got it working now. The option: View Attached Images Inline wasn't set to No. That was all.

Btw., i was so free to remove two bugs i found out in my routines and added the memberprofile-template. Have fun with it.

Bernd 05-28-2006 07:42 PM

have you added these changes to the zip?
I'm going to install the updated version tomorrow.

Harald_T 05-28-2006 08:03 PM

@Bernd:

Didn't had the time so far. Use this plugin, it's directly from my forum. Should work, also.

Harald_T 05-28-2006 08:07 PM

Quote:

Originally Posted by wezoo
thanks harald, ive sent you a PM

whenits done should it look like the pictures on your page ? thats realy nice..?
its just that my featured images are rather large on the from page

should i include a thumbnail or should this be done automaticaly ?

thanks

wez

Wez,

did you remove the name for the thumbnail in the gallery-settings? Because you can see the thumbnail in the posting now also.

UtahNissans 05-28-2006 08:08 PM

Quote:

Originally Posted by AzianStang
Harald, tried installing and followed everything as written, but I can't even seem to get an UPLOAD button. The Gallery navbar link leads directly to a subforum, and to nothing when that is clicked. I've checked everything to make sure thumbnails are enabled in both vb options and in attachment settings.

Could I have maybe messed up the forumdisplay.php rewrite?? I followed your directions to a T.

Help a super noob out! Thanks.

Same problem I am having...

wezoo 05-28-2006 08:14 PM

FANTASTIC :)

thanks Harald your a true star !!!! :) :banana:

at the risk of pushing my luck too far

is there a way of undoing the featured thread ?


but aside from that, this is brill !!!! many many thanks
and do me a favour stay a member and post the odd piccy ;)

wez

wezoo 05-28-2006 08:17 PM

just so you know, i plan to replace the custom code where my orrigional screenshots go with your gallery code !!!
is there a way (EASY) of getting the images under the nav bar ? so it went across the top ?

I cant stress enough how good this hack is !!!!

wez


All times are GMT. The time now is 08:26 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02356 seconds
  • Memory Usage 1,846KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete