Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: 1 2 3 4 5 [6] 7 8 9 10   Go Down

Author Topic: copy/ paste bbcode img URL below intermediate image  (Read 208378 times)

0 Members and 1 Guest are viewing this topic.

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #100 on: February 29, 2008, 12:32:58 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

Code: [Select]
href="'.$CONFIG['ecards_more_pic_target'].$int_url.'"
to

Code: [Select]
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

Logged

Nibbler

  • Guest
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #101 on: February 29, 2008, 12:40:21 am »

You can't do what you want using just a frame.
Logged

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #102 on: February 29, 2008, 12:43:14 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.
Logged

keithsnell1

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #103 on: March 02, 2008, 06:22:30 am »

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
Logged

jortiz13

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #104 on: March 04, 2008, 09:41:22 pm »

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.
Logged

hgl

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Member and the superintendent can demonstrate bbcode..
« Reply #105 on: April 07, 2008, 12:23:59 pm »

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...
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: Member and the superintendent can demonstrate bbcode..
« Reply #106 on: April 07, 2008, 12:33:51 pm »

Please rephrase your question!
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

hgl

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Member and the superintendent can demonstrate bbcode..
« Reply #107 on: April 07, 2008, 01:50:01 pm »

SORRY.  I not too understand English..

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

open codebase.php and after
Quote
global $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?
Logged

hgl

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Member and the superintendent can demonstrate bbcode..
« Reply #108 on: April 07, 2008, 01:53:53 pm »

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!!
Logged

hgl

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #109 on: April 07, 2008, 03:51:53 pm »

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!!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #110 on: April 07, 2008, 05:34:18 pm »

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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #111 on: April 07, 2008, 06:44:19 pm »

codebase.php ... right after
Code: [Select]
global $CONFIG;
add
Code: [Select]
if(!GALLERY_ADMIN_MODE) return $pic_data;

should do the trick
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

hgl

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #112 on: April 07, 2008, 07:18:13 pm »

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
Logged

hgl

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #113 on: April 10, 2008, 07:00:10 pm »

Please help me... ???


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

just like the users can  editor their own photo album.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #114 on: April 10, 2008, 09:25:49 pm »

usage as above
Code: [Select]
if (!($pic_data['owner_id'] == USER_ID || GALLERY_ADMIN_MODE)) {
return $pic_data;
}
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/

hgl

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #115 on: April 10, 2008, 10:38:50 pm »

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


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

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #116 on: April 30, 2008, 06:12:58 pm »

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.
Logged

skmdd

  • Tester
  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 23
    • Celebrities Wallpapers & Photo Gallery
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #117 on: May 04, 2008, 07:05:20 am »

eg.
in codebase.php right after
Code: [Select]
$bbcode_data = '<table align="center" width="'.$CONFIG['picture_width'].'">'.$script_data.'<tr>';
add in a new line
Code: [Select]
$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?
Logged

skmdd

  • Tester
  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 23
    • Celebrities Wallpapers & Photo Gallery
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #118 on: May 04, 2008, 07:23:11 am »

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

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 6006
Re: copy/ paste bbcode img URL below intermediate image v1.1
« Reply #119 on: May 04, 2008, 01:16:18 pm »

You'll have to use another plugin hook then.
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/
Pages: 1 2 3 4 5 [6] 7 8 9 10   Go Up
 

Page created in 0.023 seconds with 21 queries.