Author Topic: [Mod] Random Pic in phpBB  (Read 70470 times)

0 Members and 1 Guest are viewing this topic.

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
[Mod] Random Pic in phpBB
« Reply #15 on: September 22, 2002, 05:56:43 PM »
Hmm lol no , where did that come from   :oops:

giffy :wink:

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
[Mod] Random Pic in phpBB
« Reply #16 on: September 22, 2002, 06:08:40 PM »
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
[Mod] Random Pic in phpBB
« Reply #17 on: September 22, 2002, 06:17:30 PM »
Yes i tried that , still didnt work   :cry:

Just getting ( nothing here )

I try a few things and get back to you

Ok still doesnt work , just getting the words ( nothing here )
What can i do now ? ive tried other templates and still the same ?
Ive corrected the url and prefixes no joy !!!

giffy

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
[Mod] Random Pic in phpBB
« Reply #18 on: September 22, 2002, 06:39:31 PM »
where can i see it ?
and where is 4images install ?
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
[Mod] Random Pic in phpBB
« Reply #19 on: September 22, 2002, 08:00:26 PM »
Quote from: giffy007

Ok still doesnt work , just getting the words ( nothing here )
What can i do now ? ive tried other templates and still the same ?
Ive corrected the url and prefixes no joy !!!

giffy



this two things in query must match
Code: [Select]

        AND b.auth_viewcat=0
        AND b.auth_viewimage=0


if you have a secret gallery, query will return "nothing here"
because the two "0" are for all pics where user/guest can access a category a can click on a thumb to view the large pic..
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
[Mod] Random Pic in phpBB
« Reply #20 on: September 23, 2002, 04:08:33 PM »
Ok found it , yes i have it set up to have only reg members to view so i changed this
AND b.auth_viewcat=0
AND b.auth_viewimage=2

and it works , they can only see the main image if logged in.
Question can i point them to a page if they are not logged in ??? in this mod !!!

A question
How can i format these thumbs ?
I want it so the thumbs appear in 2 colums and 4 rows .
Can i get to open a new window when they click on the thumbs ?
Once thanks for your help Nicky :wink:

Giffy

Offline molokoloco

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • http://www.saintdesprit.net
Oh ! great
« Reply #21 on: September 23, 2002, 09:33:27 PM »
Just to say you thank you !!! for this mod (^_^)

I'm your fan ;)

Offline coolice

  • Pre-Newbie
  • Posts: 2
    • View Profile
4images category list in phpbb
« Reply #22 on: February 19, 2003, 06:01:14 PM »
Great mod but how can add 4images category list along with new images in phpbb?

regards

Offline Aho

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
[Mod] Random Pic in phpBB
« Reply #23 on: March 07, 2003, 02:03:33 AM »
ich weiß zwar nicht wieso, aber der will den thumbnail immer in folgender url suchen:

http://www.myhomepage.com/phpbb/4images/thumbs/1/picture.jpg

das kann ja nicht sein, im overall header habe ich immernoch
Code: [Select]
define('THUMB_DIR', 'data/thumbnails');stehen.

weiß einer wieso der das falsch verlinkt ?

Offline Aho

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
[Mod] Random Pic in phpBB
« Reply #24 on: March 13, 2003, 04:19:11 AM »
wie man hier schön sehen kann ist mein random pic irgendwie falsch verlinkt. hat da einer ne idee, wie ich das ändern muß, damit der den link auch richtig erstellt ?


-------

what do i have to change, that the link of the random-pic is generated correctly ? look here, its linking to a false directory !

Offline FAF

  • Pre-Newbie
  • Posts: 1
    • View Profile
Random Pic in phpBB, where to mod the template file?
« Reply #25 on: March 16, 2003, 05:26:54 PM »
hi, I'm new!

Thx for a great mod!

I have followed the description about how to ad the mod http://www.nicky.net/4images/new_pics_for_phpBB.txt into the includes/page_header.php in phpBB directory.

I saved the file, uploaded it, and everything should be fine, if I understand the procedure correctly, then I have to mod the selected template as well, cause no picture shows up as it is. The gallery and the forum are using the same database, the links and table PREFIX are ok too.

The question is, which template file should I edit to get the same result as in: http://www.modellspielzeug.at/forum/ ?

Does anyone know a good wysiwyg editor for templates like to 4images and phpBB? I will get into editing and designing from code, but it could help to see how's a program is changing the files, then I will get into the understanding on how it works quicker.

thx for your time.

Offline Aho

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
[Mod] Random Pic in phpBB
« Reply #26 on: April 08, 2003, 07:51:52 PM »
wirklich keiner ne idee, warum bei mir das random pic falsch generiert wird ? nur das bild wird falsch generiert, name und kommentare werden ja angezeigt.

Offline ai-gu

  • Newbie
  • *
  • Posts: 29
    • View Profile
[Mod] Random Pic in phpBB
« Reply #27 on: April 12, 2003, 09:46:41 PM »
Hi friends,
I am testing the this mod, everything seems to be OK except that the thumbnails did not appear.

My thumb Dir is "html/album/data/thumbnails"
and I kept the Thum_Dir in the code unchanged (data/thumbnails)

When I right click  at the thumbnail position of the radom image at phpBB page I got this:

... album/thumbs/x/XXX.jpg

What I have to do to point the thumnail Dir to the right place??
Thank you for your early reply!

Offline ai-gu

  • Newbie
  • *
  • Posts: 29
    • View Profile
[Mod] Random Pic in phpBB
« Reply #28 on: April 13, 2003, 04:23:14 AM »
Quote from: Aho
wie man hier schön sehen kann ist mein random pic irgendwie falsch verlinkt. hat da einer ne idee, wie ich das ändern muß, damit der den link auch richtig erstellt ?


-------

what do i have to change, that the link of the random-pic is generated correctly ? look here, its linking to a false directory !


My problem is exactly the same to THIS, can anyone provide us some help??
Thankx in advance!!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
[Mod] Random Pic in phpBB
« Reply #29 on: April 13, 2003, 04:41:39 AM »
did u change?
Quote
define('THUMB_DIR', 'data/thumbnails');
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)