copy/ paste bbcode img URL below intermediate image - Page 6 copy/ paste bbcode img URL below intermediate image - Page 6
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

copy/ paste bbcode img URL below intermediate image

Started by Stramm, September 16, 2006, 07:16:10 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

skidpics

Quote from: Nibbler on February 29, 2008, 12:23:25 AM
I see. By 'domain mask' you actually mean 'stupid frame'. Frames suck. Use a redirect/rewrite or DNS instead. This is not related to this mod however. To just hack in a different path change

href="'.$CONFIG['ecards_more_pic_target'].$int_url.'"

to

href="http://photospider.net/'.$int_url.'"

Unfortunately, that doesn't do the trick either.  no pics on bbcode or ecards with that.  that actually does the same thing in the url as changing the config option


Nibbler


skidpics

Quote from: Nibbler on February 29, 2008, 12:40:21 AM
You can't do what you want using just a frame.

Well, since yahoo is so limited in the way it does things.  I will just switch servers that will allow the support of add on domains.  I have been having problems with their limited issues anyway.  Thanks for the help and I will get it switched over.

keithsnell1

Can you describe how to modify this plugin so that the bbcode img URL will display in the file information area under the image?  Maybe right below (or in place of) the URL that links to the image display page? 

I'd like to have a "clean" frame around the image, and so would prefer to have the link display in the file info section if possible.

Thank you in advance,

Keith

jortiz13

Hi was following this post but I didn't see the fill code for like myspace. the bbcode in the plogin files doen't have it.
Can it be added to the bbcode plugin? like that when the plugin is install it has the hotlinks for myspace.

this will be a great mod and it will be helpful for many people.

hgl

How limits only has the superintendent and records member to see own
image bbcode..?

And other visitors and the member will forbid to demonstrate
bbcode...

Stramm


hgl

SORRY.  I not too understand English..

About:http://forum.coppermine-gallery.net/index.php/topic,36302.0.html

open codebase.php and after
Quoteglobal $CONFIG;


Question...
1. Only has user to be able to watch own code?
2. Other users forbid to watch?
3. The superintendent may watch the complete user the code?

hgl

Emphasis...

Only the users themselves can watch their own code
Other users would prohibit viewing ..
The managers of all the users can watch the code?



Thanks a lot!!

hgl

Dear Sir
Sorry to make you confuse for above questions
However, My question is
How to limite the users can not see other users link but the manager can see all of the users link?

I am looking forward to receive your reply soon


Thanks a lot!!

Joachim Müller

You as gallery admin should have the skills to find out the URL without the need of such a plugin - simply perform a right-click, properties and perform a highlight/copy job. If you really need the changes you demand, you're welcome to code them in and let us know the outcome.

Stramm

codebase.php ... right after
global $CONFIG;

add
if(!GALLERY_ADMIN_MODE) return $pic_data;


should do the trick

hgl

Dear Sir

Many thanks of your reply
Now I can see the all users link
Another thing is can you tell me how to let the users can see their own link but not allow to see other users link

I am look forward to receiving your reply soon

Cheers

hgl

Please help me... ???


How to show the  bbcode just only in own photo album?

just like the users can  editor their own photo album.

Stramm

usage as above
if (!($pic_data['owner_id'] == USER_ID || GALLERY_ADMIN_MODE)) {
return $pic_data;
}

hgl

Quote from: Stramm on April 10, 2008, 09:25:49 PM
usage as above
if (!($pic_data['owner_id'] == USER_ID || GALLERY_ADMIN_MODE)) {
return $pic_data;
}



thanks!!
ITs working fine..
Thanks a lot!! :D

Hot Rides

Wonderful work once again Stramm!
I was able to easily modify this as well to fit my needs. Thank you for helping everyone else as it kept me from having to ask and wait, lol.

skmdd

Quote from: Stramm on August 05, 2007, 09:20:08 PM
eg.
in codebase.php right after
$bbcode_data = '<table align="center" width="'.$CONFIG['picture_width'].'">'.$script_data.'<tr>';

add in a new line
$bbcode_data .= "<td colspan=\"2\" align=\"center\"><a href=\"ecard.php?pid={$pic_data['pid']}\">Send Ecard</a></td></tr><tr>";


Could you also suggest change to display link for slideshow?

skmdd

The bbcode image URL appear inside the image border. Is there a way to get the code out of the image border?

Stramm