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)

DrewM 11-28-2005 07:21 PM

Harald_T,
In your next realese could you make it so you could upload regulular files.

P.S. I've been trying to figur it out also.

Harald_T 11-28-2005 08:25 PM

@robihot: O.k., for a short solution i would say that you could best make a phrase called "filesize" and use the word "Filesize" for it. I will make a fix for the gallery, which have this phrase included.

@Larrysw: Do you mean, uploading an textdokument, for example? And showing a standard-icon for it? It wouldn't fit the use for a gallery, i think, but if you need, i'll have a look.

DrewM 11-28-2005 08:31 PM

Quote:

@Larrysw: Do you mean, uploading an textdokument, for example? And showing a standard-icon for it? It wouldn't fit the use for a gallery, i think, but if you need, i'll have a look.
yes like text docs.

AGIRABI 11-28-2005 09:24 PM

Code:

Database error in vBulletin 3.5.1:
Invalid SQL:
SELECT gallery, threadid, firstpostid, thread.title, attachmentid, attachment.dateline FROM attachment, thread, forum
WHERE gallery='1' AND thread.forumid=forum.forumid AND thread.firstpostid = attachment.postid AND attachment.dateline < 1133220095 ORDER BY attachment.dateline DESC LIMIT 5;

MySQL Error  : Unknown column 'gallery' in 'field list'
Error Number : 1054
Date        : Monday, November 28th 2005 @ 04:21:35 PM
Script      : http://www.istmod.com/forum/login.php
Referrer    : http://www.istmod.com/forum/admincp/
IP Address  : 85.99.27.54
Username    : admin
Classname    : vb_database

İ got this error where do i make mistake ?

AGIRABI 11-28-2005 09:49 PM

Somebody help me please my forum is gone i cant open any page.

How can i reset it help please guys...

lexx27 11-28-2005 10:09 PM

Did you backup your database?

If not, try to log in into your mysql and fix tables

AGIRABI 11-28-2005 10:13 PM

I did what u suggest than it worked, now i could reach the pages.

But still having problem with Gallery , i did everything almost but i didnot understand this part:

Quote:

Setting up the gallery:


The best way of integrating the gallery into your forum should be:

1. Make a category, call it "Gallery" and change Display-Order to "0", so it's not visible.

2. Make some subforums, which will be the gallery.

3. In the forums-options you find a new one, called "Gallery".

4. Set the option 'Use as gallery' to 'yes'.

5. Also, have a look at the new Gallery-Section at your vBulletin-Options:
How can i configure this gallery and where its config page still couldn't find anything.

I did installed but thats it ...

I cant even see it on my forums home page...


how can i put it on the forums page and how can i configure even where is the congiguration page ?

I am still looking for those answers and going nuts :ermm:

lexx27 11-28-2005 10:23 PM

Calm down. If you did everything right you should find the configuration page inside vboptions (bottom). Make a category, call it "Gallery" and change Display-Order to "0", so it's not visible. That means that you should know the url to see that page.

AGIRABI 11-28-2005 10:28 PM

Dear Lexx27 you are my only hope, thanks alot buddy

On my forum index page i got this error any idea why ?

Quote:

Parse error: parse error, unexpected T_VARIABLE in /home/content/i/s/t/istmod/html/forum/index2.php(461) : eval()'d code on line 17

Harald_T 11-28-2005 10:30 PM

@LEXX: Normally, he doesn't need the URL, because there is now a link at the navbar. The only thing he has to do is to fill in the ID of the category into the gallery-option. But thanks for helping him. I was relaxing a bit and played WoW...

@AGIRABI: Your first error-message sounds like you hadn't run the query.

lexx27 11-28-2005 10:34 PM

Hehe, that was nothing harald. You are here at the right time because I couldnt help him more. Good Luck AGIRABI

Harald_T 11-28-2005 10:47 PM

Quote:

Originally Posted by AGIRABI
Dear Lexx27 you are my only hope, thanks alot buddy

On my forum index page i got this error any idea why ?

I can only guess, but i think that you've changed somehow your forum. I tried to look, but i couldn't get in without registering.

Try doing the following:

-De-Install the product
-Check, if the templates have been removed
-Re-install it new.

AGIRABI 11-28-2005 11:02 PM

Dear Harald_T yes i ran the query after and then got this error at the moment..

http://www.istmod.com/forum/images/help.gif

This is my index page, when i click the Forum from the left menu i got this error


Code:

Parse error: parse error, unexpected T_VARIABLE in /home/content/i/s/t/istmod/html/forum/index2.php(461) : eval()'d code on line 17
And this is my categori config page, what should i do ? :disappointed:


http://www.istmod.com/forum/images/help1.gif

How can get rid of this error and save my forum please help me ...

Harald_T 11-29-2005 05:59 AM

Could you run the query? I mean, did it work? If not, then the gallery won't work, because this change is needed. It may be, that your problems are because the query didn't run right.

EasyTarget 11-29-2005 06:28 AM

hey harald I thought I had asked this earlier but I couldn't find the post.

does this hack require allow_url_fopen to be enabled? or does it have support for cURL also? because allow_url_fopen is disabled on my server for security reasons.

Harald_T 11-29-2005 06:42 AM

This hack uses the normal attachment-system of vBulletin. So, if your vB runs fine with allow_url_fopen enabled, then i don't see any reason, why the hack shouldn't work.

AGIRABI 11-29-2005 09:59 AM

Quote:

Originally Posted by Harald_T
Could you run the query? I mean, did it work? If not, then the gallery won't work, because this change is needed. It may be, that your problems are because the query didn't run right.



I opened mysql manager and ran this query :

Code:

ALTER TABLE `forum` ADD `gallery` TINYINT( 4 ) NOT NULL

Did i do write or wrong ?

EasyTarget 11-29-2005 05:36 PM

Quote:

Originally Posted by Harald_T
This hack uses the normal attachment-system of vBulletin. So, if your vB runs fine with allow_url_fopen enabled, then i don't see any reason, why the hack shouldn't work.

well most everyone has the fopen function enabled.. it allows you to fetch information like dimensions of a pic and size and stuff from a remote site, sometimes within a site as well. the cURL function can do the same thing but it does it in a more secure fashion. My host doesn't allow the fopen function and many image hacks use fopen and are not written to support cURL.

I'll just test it out and see, easy enough :p

ScottC20 11-29-2005 05:49 PM

I have upgraded (nice work Harald) but the phrases appear to be in Dutch or somesuch tongue, how can I revert this to English?

ScottC20 11-29-2005 05:59 PM

It's fine in the Category view, but on the view for the individual images there is the following:

http://www.bushcraftliving.com/images/screenie.JPG

So how do I change these to English?

OneShot 11-29-2005 06:07 PM

That language is german. And since Harald_T is one, I guess he has forgotten to translate some of his Phrases. The one below the image would read : "Click on the image (or picture), to view it in its original size." Next one going down would be "Informations (thats the direct translation) or Details" then "Published by", "Date" and finally "Comments".

Cheers
OS

Harald_T 11-29-2005 06:11 PM

Hmh, i wrote the english translation into the phrase-fields for english.

Search for phrasenames, which beginn with "gal_". There you can edit those. But it's really strange. I've tested on an lokal board and it worked as i set my language to english.

Oh, btw. i'm half german/half dutch, to be honest.... :D

AGIRABI 11-29-2005 07:31 PM

Harald i sent you the ftp details could setup mine please..

You know there is a opening for the forum on friday i couldn't finish it yet.

This guys are motorcyle drivers you know what they aer going to do to me ... :nervous:

ScottC20 11-29-2005 07:52 PM

Got it sorted now thanks.

Harald_T 11-29-2005 08:01 PM

@AGIRABI: Works now. You only forgot to add an subforum to your Gallery-Category. I add one and now it works. Have fun with it.

AGIRABI 11-29-2005 08:10 PM

Thanky you so much harald one last question how can i add a random picture gallery blok to my index page.

Harald_T 11-29-2005 08:20 PM

For vBA CMPS just look here:

https://vborg.vbsupport.ru/showpost....&postcount=392

AGIRABI 11-29-2005 08:31 PM

Thanks everything you done for me, but i think i ll pass it for now it is to much for me :)

EasyTarget 11-30-2005 07:13 AM

thanks harald, seems to be working ok so far as long as I don't link to remote sites. lots of german in the hack, is there a list of what the phrases should say in english?

also I saw that cmps link that had code for a vertical module, has anyone made a module for this hack that would work to display the pics on vba just like they do on forumhome?

EasyTarget 11-30-2005 07:27 AM

also is there a way to get the register.jpg to show on the forumhome if you have the latest and random pics enabled?

Harald_T 11-30-2005 08:08 PM

@AGABIRI: Ok, no Problem.

@Easy Target: I think ChristianB posted a module for CMPS some posts later.

About the register thing: No, not yet. I have to fix that, but not before sunday, as my holidays are over and i'm working again now.

nexus851 12-01-2005 05:03 AM

How do you upgrade from the older version of this gallery??? Im running 3.50gold... do i overwrite, run the sql commands again or ??????

EasyTarget 12-01-2005 07:58 AM

thanks harald, I found the cmps module info here:
https://vborg.vbsupport.ru/showpost....&postcount=372


And can you tell me what's wrong with this code? I edited the gallery_latestpictures thread to try and make it so that only registered members could see the pics posted but it made it so no one can see the pics posted, everyone sees the register jpg. Its from a post I found earlier in this thread.

Code:

<td align="center">
<table class="tborder" align="center">
<tr>
<if condition="$show['member']">
<td class="thead" height="100" width="120" align="center">
<a HREF="attachment.php?attachmentid=$gallery[attachmentid]">
<img src="attachment.php?attachmentid=$gallery[attachmentid]&stc=1&thumb=1" border=0 align="center"></a>
</td>
</tr>
<tr>
<td valign="center" align="center" width="120" height="40">
<br />
<a href="showthread.php?t=$gallery[threadid]">
$gallery[title]
</a>
</td>
<else />
<td>
<img src="images/misc/register.jpg">
</td>
</if>
</tr>
</table>
</td>


Harald_T 12-02-2005 01:25 PM

Quote:

Originally Posted by nexus851
How do you upgrade from the older version of this gallery??? Im running 3.50gold... do i overwrite, run the sql commands again or ??????

As i wrote in the installation-manual: Delete the old templates, de-install the old product and re-install the new version. That's all. All settings stay the same.

nexus851 12-02-2005 10:20 PM

How do i integrate this with CMPS vbadvance where when i go into the Gallery page, it will also still show the left column of my modules (like it does in my cmps homepage) I know i have to create a module template, but i forgot the rest, does anyone remember????

the problem is my gallery page is just a link "http://www.studentsrus.org/forum/forumdisplay.php?f=47" how would i implement a link to open up on my center columns but yet still have my left and right column modules present

portalimiz 12-03-2005 02:18 PM

i could not find the Category-Id. i wrote 59,it didn't. when i wrote any number,there was a problem...please help me...

Dollah 12-04-2005 04:12 AM

ok i have 3.5.1 now how do i edit queries i'm very new to this need to be explained in more detail for me. i'm trying to get off the porch and run with the big dawgs

Harald_T 12-04-2005 10:52 AM

I'll be back tonight. Sorry for waiting.

AGIRABI 12-04-2005 10:41 PM

Quote:

Originally Posted by Harald_T


Dear Harald i have tried to install the vba CMPS and almost did it.

Only picture is not showing, this is how its look like:

http://www.istmod.com/forum/images/vba.gif

I am sending you the user details from PM,

Could you please take a look at it where i am making wrong '

Thank you so much buddy...

Lionel 12-05-2005 02:14 AM

Very nice hack. Is there a way to prevent people from starting a new thread if there are no attachments?


All times are GMT. The time now is 01:13 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.02140 seconds
  • Memory Usage 1,832KB
  • 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
  • (4)bbcode_code_printable
  • (8)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